projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ubifs: remove obsolete CONFIG_UBIFS_FS_XATTR symbol
[oweals/openwrt.git]
/
target
/
linux
/
generic
/
patches-3.10
/
864-gpiommc_configfs_locking.patch
diff --git
a/target/linux/generic/patches-3.10/864-gpiommc_configfs_locking.patch
b/target/linux/generic/patches-3.10/864-gpiommc_configfs_locking.patch
index d4201eb50886e1e8f31ee0d4235d611b29e35afa..92815d91f4cdc001aa59e0277f74bc6421ad83c4 100644
(file)
--- a/
target/linux/generic/patches-3.10/864-gpiommc_configfs_locking.patch
+++ b/
target/linux/generic/patches-3.10/864-gpiommc_configfs_locking.patch
@@
-37,7
+37,7
@@
does not lock access between files.
+ mutex_lock(&dev->mutex);
+
if (attr == &gpiommc_attr_register) {
- err =
strict_
strtoul(page, 10, &data);
+ err =
k
strtoul(page, 10, &data);
if (err)
@@ -478,6 +486,8 @@ static ssize_t gpiommc_config_attr_store
WARN_ON(1);