diff options
author | Tejun Heo <htejun@gmail.com> | 2007-06-14 04:27:21 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-07-11 16:09:08 -0700 |
commit | d0bcb5689a521df98bff7549fcb8b17499660a99 (patch) | |
tree | 6f9deb74f4facc5e638b71ba8b99ac2baeed9859 /fs/sysfs/dir.c | |
parent | 9d9307dabb3de8140fb3801bf6eb01f231dbd83d (diff) | |
download | kernel_samsung_smdk4412-d0bcb5689a521df98bff7549fcb8b17499660a99.zip kernel_samsung_smdk4412-d0bcb5689a521df98bff7549fcb8b17499660a99.tar.gz kernel_samsung_smdk4412-d0bcb5689a521df98bff7549fcb8b17499660a99.tar.bz2 |
sysfs: make sysfs_drop_dentry() access inodes using ilookup()
sysfs_drop_dentry() used to go through sd->s_dentry and
sd->s_parent->s_dentry to access the inodes. This is incorrect
because inode can be cached without dentry.
This patch makes sysfs_drop_dentry() access inodes using ilookup() on
sd->s_ino. This is both correct and simpler.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/sysfs/dir.c')
0 files changed, 0 insertions, 0 deletions