summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/current_stateid.h
diff options
context:
space:
mode:
authorTigran Mkrtchyan <kofemann@gmail.com>2012-02-13 22:55:30 +0100
committerJ. Bruce Fields <bfields@redhat.com>2012-02-15 11:20:43 -0500
commit1e97b5190d9538748cbf72c20a56b2c5cbd2f61d (patch)
treefe06a4c0bb2ee61511aecaf31ad3ef2ce911231c /fs/nfsd/current_stateid.h
parentd14710532ff192033450aa8ec57f7a93670d4c5f (diff)
downloadlinux-1e97b5190d9538748cbf72c20a56b2c5cbd2f61d.tar.gz
linux-1e97b5190d9538748cbf72c20a56b2c5cbd2f61d.tar.bz2
linux-1e97b5190d9538748cbf72c20a56b2c5cbd2f61d.zip
nfsd41: handle current stateid in SETATTR and FREE_STATEID
Signed-off-by: Tigran Mkrtchyan <kofemann@gmail.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/current_stateid.h')
-rw-r--r--fs/nfsd/current_stateid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfsd/current_stateid.h b/fs/nfsd/current_stateid.h
index 6e54d19a88c3..e1ae9500e9fc 100644
--- a/fs/nfsd/current_stateid.h
+++ b/fs/nfsd/current_stateid.h
@@ -14,6 +14,8 @@ extern void nfsd4_set_closestateid(struct nfsd4_compound_state *, struct nfsd4_c
/*
* functions to consume current state id
*/
+extern void nfsd4_get_freestateid(struct nfsd4_compound_state *, struct nfsd4_free_stateid *);
+extern void nfsd4_get_setattrstateid(struct nfsd4_compound_state *, struct nfsd4_setattr *);
extern void nfsd4_get_closestateid(struct nfsd4_compound_state *, struct nfsd4_close *);
extern void nfsd4_get_lockustateid(struct nfsd4_compound_state *, struct nfsd4_locku *);
extern void nfsd4_get_readstateid(struct nfsd4_compound_state *, struct nfsd4_read *);