projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a dentry op to allow processes to be held during pathwalk transit
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
staging
/
wlags49_h2
/
wl_sysfs.c
diff --git
a/drivers/staging/wlags49_h2/wl_sysfs.c
b/drivers/staging/wlags49_h2/wl_sysfs.c
index e4c8804ac37d81821d3f5bec356cd0ba9348aeda..9b833b30ae6250de88766c86bd38c79b59906600 100644
(file)
--- a/
drivers/staging/wlags49_h2/wl_sysfs.c
+++ b/
drivers/staging/wlags49_h2/wl_sysfs.c
@@
-42,7
+42,7
@@
static ssize_t show_tallies(struct device *d, struct device_attribute *attr,
CFG_HERMES_TALLIES_STRCT tallies;
ssize_t ret = -EINVAL;
- r
ead_lock(&dev_base_lock
);
+ r
cu_read_lock(
);
if (dev_isalive(dev)) {
wl_lock(lp, &flags);
@@
-102,7
+102,7
@@
static ssize_t show_tallies(struct device *d, struct device_attribute *attr,
}
}
- r
ead_unlock(&dev_base_lock
);
+ r
cu_read_unlock(
);
return ret;
}