Details
-
Question/Request
-
Resolution: Done
-
Minor
-
None
-
Lustre 2.5.3
-
None
-
9223372036854775807
Description
Shouldn't ptlrpc_obd_ping() issue a CERROR() before returning ENOMEM?
int ptlrpc_obd_ping(struct obd_device *obd) { int rc; struct ptlrpc_request *req; ENTRY; req = ptlrpc_prep_ping(obd->u.cli.cl_import); if (req == NULL) RETURN(-ENOMEM); <========= HERE req->rq_send_state = LUSTRE_IMP_FULL; rc = ptlrpc_queue_wait(req); ptlrpc_req_finished(req); RETURN(rc); }