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 | 5f9953237f684ea1778adb9d26162da00b282225 (patch) | |
tree | 962bbe5fe2483876caa74943875cbef432db6945 /fs/sysfs/file.c | |
parent | sysfs: make kobj point to sysfs_dirent instead of dentry (diff) | |
download | linux-5f9953237f684ea1778adb9d26162da00b282225.tar.xz linux-5f9953237f684ea1778adb9d26162da00b282225.zip |
sysfs: consolidate sysfs spinlocks
Replace sysfs_lock and kobj_sysfs_assoc_lock with sysfs_assoc_lock.
sysfs_lock was originally to be used to protect sysfs_dirent tree but
mutex seems better choice, so there is no reason to keep sysfs_lock
separate. Merge the two spinlocks into one.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/sysfs/file.c')
0 files changed, 0 insertions, 0 deletions