linux-stable/fs/sysfs
Tejun Heo 45c076c5d7 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 <tj@kernel.org>
Cc: Al Viro <viro@hera.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-10-16 09:24:51 -07:00
..
bin.c sysfs: fix deadlock 2008-10-16 09:24:50 -07:00
dir.c sysfs: use ilookup5() instead of ilookup5_nowait() 2008-10-16 09:24:51 -07:00
file.c
group.c
inode.c
Makefile
mount.c
symlink.c
sysfs.h