summaryrefslogtreecommitdiffstats
path: root/include/linux/nfsd
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2009-02-21 13:29:14 -0800
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-03-18 17:38:18 -0400
commit203a8c8e66278a5936a230edaac29017e50c88fb (patch)
tree93165a85d0ff93271f23f2a753c93d0df754d138 /include/linux/nfsd
parent3e633079e377d2b527a8390f63ceb887b5cabfbf (diff)
downloadop-kernel-dev-203a8c8e66278a5936a230edaac29017e50c88fb.zip
op-kernel-dev-203a8c8e66278a5936a230edaac29017e50c88fb.tar.gz
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/linux/nfsd')
-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 1130d53..c9311a1 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) && \
OpenPOWER on IntegriCloud