linux/fs/sysfs
Tejun Heo 253280267a sysfs: fix i_mutex locking in sysfs_get_dentry()
lookup_one_len_kern() should be called with the parent's i_mutex
locked.  Fix it.

Spotted by Eric W. Biederman.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-10-12 14:51:07 -07:00
..
bin.c sysfs: cleanup semaphore.h 2007-10-12 14:51:03 -07:00
dir.c sysfs: fix i_mutex locking in sysfs_get_dentry() 2007-10-12 14:51:07 -07:00
file.c sysfs: Fix typos in fs/sysfs/file.c 2007-10-12 14:51:06 -07:00
group.c sysfs: Remove first pass at shadow directory support 2007-10-12 14:51:03 -07:00
inode.c sysfs: make sysfs_addrm_finish() return void 2007-10-12 14:51:04 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mount.c sysfs: Remove first pass at shadow directory support 2007-10-12 14:51:03 -07:00
symlink.c sysfs: make sysfs_add_one() automatically check for duplicate entry 2007-10-12 14:51:04 -07:00
sysfs.h sysfs: make sysfs_addrm_finish() return void 2007-10-12 14:51:04 -07:00