nfsd4: get lock checks out of preprocess_seqid_op
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 22 Aug 2011 17:13:31 +0000 (13:13 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Sat, 27 Aug 2011 18:21:28 +0000 (14:21 -0400)
commitb34f27aa5da75b0b6c054e76bb4b92aea7aac04b
tree8a60d74b5bd0ece4e6995f98b9e7a9cf26cf8892
parent9afb978400e65ea6a3200b3e163606ce86e13c25
nfsd4: get lock checks out of preprocess_seqid_op

We've got some lock-specific code here in nfs4_preprocess_seqid_op which
is only used by nfsd4_lock().  Move it to the caller.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c