nfs: add a nfs_ilookup helper
authorPeng Tao <tao.peng@primarydata.com>
Thu, 29 Jun 2017 13:34:51 +0000 (06:34 -0700)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 13 Jul 2017 20:00:15 +0000 (16:00 -0400)
commitf174ff7a0ab6a097455a94abfc99517940041c07
tree47eb71bdb2a2cfdcf30eefc09a80fbca31bdd620
parent774d9513a3f29048cce3ed5df3b0a0da9897678c
nfs: add a nfs_ilookup helper

This helper will allow to find an existing NFS inode by the file handle
and fattr.

Signed-off-by: Peng Tao <tao.peng@primarydata.com>
[hch: split from a larger patch]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/inode.c
include/linux/nfs_fs.h