Patch renames ptlrpc_req_finished to ptlrpc_req_put for
mgc component
Test-Parameters: trivial
Signed-off-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Change-Id: I7b7fac8b3cfc30b6b6e92f68018b494d24390a7c
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54989
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
/* A failed enqueue should still call the mgc_blocking_ast,
* where it will be requeued if needed ("grant failed").
*/
- ptlrpc_req_finished(req);
+ ptlrpc_req_put(req);
RETURN(rc);
}
out:
if (req) {
- ptlrpc_req_finished(req);
+ ptlrpc_req_put(req);
req = NULL;
}
req_mti = req_capsule_client_get(&req->rq_pill, &RMF_MGS_TARGET_INFO);
if (!req_mti) {
- ptlrpc_req_finished(req);
+ ptlrpc_req_put(req);
RETURN(-ENOMEM);
}
mti->mti_svname, mti->mti_stripe_index);
server_mti_print("mgc_target_register: rep", mti);
}
- ptlrpc_req_finished(req);
+ ptlrpc_req_put(req);
RETURN(rc);
}
out:
if (req) {
- ptlrpc_req_finished(req);
+ ptlrpc_req_put(req);
req = NULL;
}