NFS: Pass the inode down to the getattr() callback
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 7 Apr 2018 17:50:59 +0000 (13:50 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 4 Jun 2018 16:07:07 +0000 (12:07 -0400)
commita841b54dbd65421726caf7129f8951910c7a8ea6
tree6d39aa190863b61863885ad66c8247f21746af9c
parent30846df06f937b692ea658aaf7e28acf56a255f8
NFS: Pass the inode down to the getattr() callback

Allow the getattr() callback to check things like whether or not we hold
a delegation so that it can adjust the attributes that it is asking for.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/client.c
fs/nfs/dir.c
fs/nfs/export.c
fs/nfs/inode.c
fs/nfs/nfs3proc.c
fs/nfs/nfs4proc.c
fs/nfs/proc.c
include/linux/nfs_xdr.h