From: Tejun Heo Date: Wed, 13 Jun 2007 19:27:21 +0000 (+0900) Subject: sysfs: make sysfs_drop_dentry() access inodes using ilookup() X-Git-Tag: v2.6.23-rc1~1107^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0bcb5689a521df98bff7549fcb8b17499660a99;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed