summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2009-02-21 22:29:14 +0100
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-03-18 22:38:18 +0100
commit203a8c8e66278a5936a230edaac29017e50c88fb (patch)
tree93165a85d0ff93271f23f2a753c93d0df754d138 /include
parentnfsd4: add a helper function to decide if stateid is delegation (diff)
downloadlinux-203a8c8e66278a5936a230edaac29017e50c88fb.tar.xz
linux-203a8c8e66278a5936a230edaac29017e50c88fb.zip
nfsd4: separate delegreturn case from preprocess_stateid_op
Delegreturn is enough a special case for preprocess_stateid_op to warrant just open-coding it in delegreturn. There should be no change in behavior here; we're just reshuffling code. Thanks to Yang Hongyang for catching a critical typo. Reviewed-by: Yang Hongyang <yanghy@cn.fujitsu.com> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nfsd/state.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/nfsd/state.h b/include/linux/nfsd/state.h
index 1130d534bb63..c9311a1e2e1a 100644
--- a/include/linux/nfsd/state.h
+++ b/include/linux/nfsd/state.h
@@ -263,7 +263,6 @@ 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) && \