]> git.karo-electronics.de Git - linux-beck.git/commitdiff
nfsd4: minor nfsd4_replay_cache_entry cleanup
authorJ. Bruce Fields <bfields@redhat.com>
Fri, 21 Mar 2014 15:43:34 +0000 (11:43 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Sat, 29 Mar 2014 01:24:52 +0000 (21:24 -0400)
Maybe this is comment true, who cares?  Handle this like any other
error.

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

index a08b58d7a77f5e745150979c43058e1c82d1a58a..451638bb011c0ecc05a055706f71fd5673da8a29 100644 (file)
@@ -1605,9 +1605,8 @@ nfsd4_replay_cache_entry(struct nfsd4_compoundres *resp,
 
        dprintk("--> %s slot %p\n", __func__, slot);
 
-       /* Either returns 0 or nfserr_retry_uncached */
        status = nfsd4_enc_sequence_replay(resp->rqstp->rq_argp, resp);
-       if (status == nfserr_retry_uncached_rep)
+       if (status)
                return status;
 
        /* The sequence operation has been encoded, cstate->datap set. */