vfs: add find_inode_nowait() function
authorTheodore Ts'o <tytso@mit.edu>
Mon, 2 Feb 2015 05:37:01 +0000 (00:37 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 5 Feb 2015 07:45:00 +0000 (02:45 -0500)
commitfe032c422c5ba562ba9c2d316f55e258e03259c6
tree83fb3e7bde52805f447c5f1d8ae42f46462db1c6
parent0ae45f63d4ef8d8eeec49c7d8b44a1775fff13e8
vfs: add find_inode_nowait() function

Add a new function find_inode_nowait() which is an even more general
version of ilookup5_nowait().  It is designed for callers which need
very fine grained control over when the function is allowed to block
or increment the inode's reference count.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/inode.c
include/linux/fs.h