summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorNeil Brown <neilb@cse.unsw.edu.au>2005-01-04 05:51:59 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-01-04 05:51:59 -0800
commit268b934510490eb490e88d7b0fa1a7b6c4d1ff04 (patch)
treefb85aae47f3a8ea52c8f64c63e835b3c2bed00e5 /include/linux
parent55d066111e4917f5b26604335fb79aaec6cdbc56 (diff)
[PATCH] knfsd: add checking of delegation stateids to nfs4_preprocess_stateid_op.
Call release_delegation on delegreturn (DELEG_RET). Signed-off-by: Andy Adamson <andros@citi.umich.edu> Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/nfsd/state.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfsd/state.h b/include/linux/nfsd/state.h
index 2031e6b7c1fb..d08cf66f244a 100644
--- a/include/linux/nfsd/state.h
+++ b/include/linux/nfsd/state.h
@@ -271,6 +271,7 @@ struct nfs4_stateid {
#define RD_STATE 0x00000010
#define WR_STATE 0x00000020
#define CLOSE_STATE 0x00000040
+#define DELEG_RET 0x00000080
#define seqid_mutating_err(err) \
(((err) != nfserr_stale_clientid) && \