From: Tejun Heo Date: Sat, 27 Sep 2008 22:48:08 +0000 (+0900) Subject: sysfs: use ilookup5() instead of ilookup5_nowait() X-Git-Tag: v2.6.28-rc1~284^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45c076c5d71e6e644e2eae64f80922d162c900ac;p=pandora-kernel.git sysfs: use ilookup5() instead of ilookup5_nowait() As inode creation is protected by sysfs_mutex, ilookup5_nowait() always either fails to find at all or finds one which is fully initialized, so using ilookup5_nowait() or ilookup5() doesn't make any difference. Switch to ilookup5() as it's planned to be removed. This change also makes lookup return value handling a bit simpler. This change was suggested by Al Viro. Signed-off-by: Tejun Heo Cc: Al Viro Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed