diff options
author | Tejun Heo <htejun@gmail.com> | 2007-06-13 21:27:23 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-07-12 01:09:08 +0200 |
commit | 3007e997de91ec59af39a3f9c91595b31ae6e08b (patch) | |
tree | 4ed4df3ef3a249d2a4b562e36876fc8d4a3fabd9 /sound/oss/msnd_pinnacle.h | |
parent | sysfs: consolidate sysfs spinlocks (diff) | |
download | linux-3007e997de91ec59af39a3f9c91595b31ae6e08b.tar.xz linux-3007e997de91ec59af39a3f9c91595b31ae6e08b.zip |
sysfs: use sysfs_mutex to protect the sysfs_dirent tree
As kobj sysfs dentries and inodes are gonna be made reclaimable,
i_mutex can't be used to protect sysfs_dirent tree. Use sysfs_mutex
globally instead. As the whole tree is protected with sysfs_mutex,
there is no reason to keep sysfs_rename_sem. Drop it.
While at it, add docbook comments to functions which require
sysfs_mutex locking.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'sound/oss/msnd_pinnacle.h')
0 files changed, 0 insertions, 0 deletions