summaryrefslogtreecommitdiff
path: root/fs/nfsd/state.h
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2014-07-23 20:17:38 (GMT)
committerJ. Bruce Fields <bfields@redhat.com>2014-07-23 20:35:23 (GMT)
commite2cf80d73f283fa573069217bdb899bc554d9edc (patch)
tree8e24156ffaf41ca0c38d5ec1097a33ce0cb3b97c /fs/nfsd/state.h
parentfc8e5a644c2041273a1cee7c6299713ccee319ab (diff)
downloadlinux-e2cf80d73f283fa573069217bdb899bc554d9edc.tar.xz
nfsd: Store the filehandle with the struct nfs4_file
For use when we may not have a struct inode. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Signed-off-by: Jeff Layton <jlayton@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/state.h')
-rw-r--r--fs/nfsd/state.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h
index e68a9ae..33cf950 100644
--- a/fs/nfsd/state.h
+++ b/fs/nfsd/state.h
@@ -396,6 +396,7 @@ struct nfs4_file {
struct file *fi_deleg_file;
struct file_lock *fi_lease;
atomic_t fi_delegees;
+ struct knfsd_fh fi_fhandle;
struct inode *fi_inode;
bool fi_had_conflict;
};