]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
nfsd4: update comments with obsolete function name
authorJ. Bruce Fields <bfields@redhat.com>
Fri, 21 Mar 2014 21:26:44 +0000 (17:26 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Sat, 29 Mar 2014 01:24:50 +0000 (21:24 -0400)
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c
fs/nfsd/nfs4xdr.c

index 5a9588e55f2eb27511f00698fdf296c59f5dc866..a07d98c47d8613c6a5513b7d5ead664b11aab6c6 100644 (file)
@@ -1538,7 +1538,7 @@ gen_callback(struct nfs4_client *clp, struct nfsd4_setclientid *se, struct svc_r
 }
 
 /*
- * Cache a reply. nfsd4_check_drc_limit() has bounded the cache size.
+ * Cache a reply. nfsd4_check_resp_size() has bounded the cache size.
  */
 void
 nfsd4_store_cache_entry(struct nfsd4_compoundres *resp)
index 93b50ba1c5e96a1b02be1e7f5fd9135c7479548a..2708fae3cc27eb05624dee15dcf9f8ff2c4dc94e 100644 (file)
@@ -3624,7 +3624,7 @@ nfsd4_encode_operation(struct nfsd4_compoundres *resp, struct nfsd4_op *op)
        BUG_ON(op->opnum < 0 || op->opnum >= ARRAY_SIZE(nfsd4_enc_ops) ||
               !nfsd4_enc_ops[op->opnum]);
        op->status = nfsd4_enc_ops[op->opnum](resp, op->status, &op->u);
-       /* nfsd4_check_drc_limit guarantees enough room for error status */
+       /* nfsd4_check_resp_size guarantees enough room for error status */
        if (!op->status)
                op->status = nfsd4_check_resp_size(resp, 0);
        if (so) {