diff options
author | 2007-06-14 04:27:23 +0900 | |
---|---|---|
committer | 2007-07-11 16:09:08 -0700 | |
commit | 5f9953237f684ea1778adb9d26162da00b282225 (patch) | |
tree | 962bbe5fe2483876caa74943875cbef432db6945 /fs/sysfs/file.c | |
parent | sysfs: make kobj point to sysfs_dirent instead of dentry (diff) | |
download | wireguard-linux-5f9953237f684ea1778adb9d26162da00b282225.tar.xz wireguard-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