summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/xdr4.h
diff options
context:
space:
mode:
authorTigran Mkrtchyan <kofemann@gmail.com>2012-02-13 22:55:28 +0100
committerJ. Bruce Fields <bfields@redhat.com>2012-02-15 17:20:41 +0100
commit8307111476bcd6c3e126a06ba9240dfaef83ef63 (patch)
treeaecc5126b7928448f5ccd3a5673bd212e730ac3c /fs/nfsd/xdr4.h
parentnfsd41: mark PUTFH, PUTPUBFH and PUTROOTFH to clear current stateid (diff)
downloadlinux-8307111476bcd6c3e126a06ba9240dfaef83ef63.tar.xz
linux-8307111476bcd6c3e126a06ba9240dfaef83ef63.zip
nfsd41: save and restore current stateid with current fh
Signed-off-by: Tigran Mkrtchyan <kofemann@gmail.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/xdr4.h')
-rw-r--r--fs/nfsd/xdr4.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h
index b49ffe83e604..3c1ddd7f13a4 100644
--- a/fs/nfsd/xdr4.h
+++ b/fs/nfsd/xdr4.h
@@ -55,6 +55,7 @@ struct nfsd4_compound_state {
u32 minorversion;
u32 status;
const stateid_t *current_stateid;
+ const stateid_t *save_stateid;
};
static inline bool nfsd4_has_session(struct nfsd4_compound_state *cs)