commit | 253280267a7f1ced0c434fb24b7bef92d7d22628 | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Mon Aug 20 21:36:29 2007 +0900 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Oct 12 14:51:07 2007 -0700 |
tree | 8add8daefa3cf776daf7f042cb9341debafe54f1 | |
parent | 1359555eb77d240b7c1d7ee75bb07e89e89770e4 [diff] |
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>