|
@@ -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) {
|