diff options
author | Tejun Heo <tj@kernel.org> | 2013-11-28 14:54:27 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-11-29 17:48:14 -0800 |
commit | 024f647117d697165aaadf3f1af1343b7000149a (patch) | |
tree | 79dcad5d6babfe359c443093fe7e5bed84322ef7 /arch/mips/rb532 | |
parent | d19b9846df64d8845be682b6318bd1aee246cf60 (diff) | |
download | linux-024f647117d697165aaadf3f1af1343b7000149a.tar.gz linux-024f647117d697165aaadf3f1af1343b7000149a.tar.bz2 linux-024f647117d697165aaadf3f1af1343b7000149a.zip |
sysfs, kernfs: introduce kernfs_notify()
Introduce kernfs interface to wake up poll(2) which takes and returns
sysfs_dirents.
sysfs_notify_dirent() is renamed to kernfs_notify() and sysfs_notify()
is updated so that it doesn't directly grab sysfs_mutex but acquires
the target sysfs_dirents using sysfs_get_dirent().
sysfs_notify_dirent() is reimplemented as a dumb inline wrapper around
kernfs_notify().
This patch doesn't introduce any behavior changes.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/mips/rb532')
0 files changed, 0 insertions, 0 deletions