nfsd41: rename nfsd4_enc_uncached_replay
authorAndy Adamson <andros@netapp.com>
Thu, 23 Jul 2009 23:02:17 +0000 (19:02 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 28 Jul 2009 18:30:36 +0000 (14:30 -0400)
This function is only used for SEQUENCE replay.

Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs4proc.c

index d606c6a..23cd738 100644 (file)
@@ -989,7 +989,7 @@ static const char *nfsd4_op_name(unsigned opnum);
  * encode the uncache rep error on the next operation.
  */
 static __be32
-nfsd4_enc_uncached_replay(struct nfsd4_compoundargs *args,
+nfsd4_enc_sequence_replay(struct nfsd4_compoundargs *args,
                         struct nfsd4_compoundres *resp)
 {
        struct nfsd4_op *op;
@@ -1124,7 +1124,7 @@ encode_op:
                if (resp->cstate.status == nfserr_replay_cache) {
                        dprintk("%s NFS4.1 replay from cache\n", __func__);
                        if (nfsd4_not_cached(resp))
-                               status = nfsd4_enc_uncached_replay(args, resp);
+                               status = nfsd4_enc_sequence_replay(args, resp);
                        else
                                status = op->status;
                        goto out;