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)
commit14bcab1a395b1b150e654100cce09a1b552ec5f1
tree709b87c167c18c446b5ad73dacb11f80aabe6e3c
parent50cc62317dece5173b56aa8d3569930b065ce47d
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