nfsd4: separate delegreturn case from preprocess_stateid_op
authorJ. Bruce Fields <bfields@citi.umich.edu>
Sat, 21 Feb 2009 21:29:14 +0000 (13:29 -0800)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 18 Mar 2009 21:38:18 +0000 (17:38 -0400)
commit203a8c8e66278a5936a230edaac29017e50c88fb
tree93165a85d0ff93271f23f2a753c93d0df754d138
parent3e633079e377d2b527a8390f63ceb887b5cabfbf
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>
fs/nfsd/nfs4state.c
include/linux/nfsd/state.h