diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2009-02-21 16:29:14 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-03-18 17:38:18 -0400 |
commit | 203a8c8e66278a5936a230edaac29017e50c88fb (patch) | |
tree | 93165a85d0ff93271f23f2a753c93d0df754d138 /include/linux/nfsd | |
parent | 3e633079e377d2b527a8390f63ceb887b5cabfbf (diff) |
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.h | 1 |
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 { | |||
263 | #define RD_STATE 0x00000010 | 263 | #define RD_STATE 0x00000010 |
264 | #define WR_STATE 0x00000020 | 264 | #define WR_STATE 0x00000020 |
265 | #define CLOSE_STATE 0x00000040 | 265 | #define CLOSE_STATE 0x00000040 |
266 | #define DELEG_RET 0x00000080 | ||
267 | 266 | ||
268 | #define seqid_mutating_err(err) \ | 267 | #define seqid_mutating_err(err) \ |
269 | (((err) != nfserr_stale_clientid) && \ | 268 | (((err) != nfserr_stale_clientid) && \ |