diff options
author | Tejun Heo <htejun@gmail.com> | 2007-08-20 14:36:29 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 23:51:07 +0200 |
commit | 253280267a7f1ced0c434fb24b7bef92d7d22628 (patch) | |
tree | 8add8daefa3cf776daf7f042cb9341debafe54f1 /fs/sysfs/inode.c | |
parent | Driver core: Make platform_device.id an int (diff) | |
download | linux-253280267a7f1ced0c434fb24b7bef92d7d22628.tar.xz linux-253280267a7f1ced0c434fb24b7bef92d7d22628.zip |
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>
Diffstat (limited to 'fs/sysfs/inode.c')
0 files changed, 0 insertions, 0 deletions