nfsd4: centralize handling of replay owners
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 24 Aug 2011 16:27:31 +0000 (12:27 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 31 Aug 2011 21:56:02 +0000 (17:56 -0400)
Set the stateowner associated with a replay in one spot in
nfs4_preprocess_seqid_op() and keep it in cstate.  This allows removing
a few lines of boilerplate from all the nfs4_preprocess_seqid_op()
callers.

Also turn ENCODE_SEQID_OP_TAIL into a function while we're here.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>

No differences found