mirror of https://gitee.com/openkylin/linux.git
nfsd4: update comments with obsolete function name
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
parent
de4aee2e0a
commit
067e1ace46
|
@ -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
|
void
|
||||||
nfsd4_store_cache_entry(struct nfsd4_compoundres *resp)
|
nfsd4_store_cache_entry(struct nfsd4_compoundres *resp)
|
||||||
|
|
|
@ -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) ||
|
BUG_ON(op->opnum < 0 || op->opnum >= ARRAY_SIZE(nfsd4_enc_ops) ||
|
||||||
!nfsd4_enc_ops[op->opnum]);
|
!nfsd4_enc_ops[op->opnum]);
|
||||||
op->status = nfsd4_enc_ops[op->opnum](resp, op->status, &op->u);
|
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)
|
if (!op->status)
|
||||||
op->status = nfsd4_check_resp_size(resp, 0);
|
op->status = nfsd4_check_resp_size(resp, 0);
|
||||||
if (so) {
|
if (so) {
|
||||||
|
|
Loading…
Reference in New Issue