NFSd: Clean up nfs4_preprocess_stateid_op
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 18 Apr 2014 18:44:07 +0000 (14:44 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 7 May 2014 15:05:48 +0000 (11:05 -0400)
commita4fc49ab3798a8e5f86229131f1fbd559fd03aff
tree709b87c167c18c446b5ad73dacb11f80aabe6e3c
parent725e928009742c59218a0ebdf82bcd1e9dd382e3
NFSd: Clean up nfs4_preprocess_stateid_op

Move the state locking and file descriptor reference out from the
callers and into nfs4_preprocess_stateid_op() itself.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4state.c