summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/state.h
diff options
context:
space:
mode:
authorTrond Myklebust2014-07-23 22:17:38 +0200
committerJ. Bruce Fields2014-07-23 22:35:23 +0200
commite2cf80d73f283fa573069217bdb899bc554d9edc (patch)
tree8e24156ffaf41ca0c38d5ec1097a33ce0cb3b97c /fs/nfsd/state.h
parentnfsd4: convert comma to semicolon (diff)
downloadkernel-qcow2-linux-e2cf80d73f283fa573069217bdb899bc554d9edc.tar.gz
kernel-qcow2-linux-e2cf80d73f283fa573069217bdb899bc554d9edc.tar.xz
kernel-qcow2-linux-e2cf80d73f283fa573069217bdb899bc554d9edc.zip
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 e68a9ae30fd7..33cf950b3873 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;
};