X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fquota%2Fqsd_request.c;h=ee8380add0004abb08917c830bad15352a09223f;hb=refs%2Fchanges%2F80%2F8080%2F5;hp=e4851e12e7ed43450aaa6a5a06968c4a85420902;hpb=96daa1b1ec0b4c9c61d30ff18a32f015a14fd528;p=fs%2Flustre-release.git diff --git a/lustre/quota/qsd_request.c b/lustre/quota/qsd_request.c index e4851e1..ee8380a 100644 --- a/lustre/quota/qsd_request.c +++ b/lustre/quota/qsd_request.c @@ -287,7 +287,7 @@ int qsd_intent_lock(const struct lu_env *env, struct obd_export *exp, lock = ldlm_handle2lock(&qti->qti_lockh); if (lock == NULL) { ptlrpc_req_finished(req); - GOTO(out, -ENOLCK); + GOTO(out, rc = -ENOLCK); } lu_ref_add(&qqi->qqi_reference, "glb_lock", lock); LDLM_LOCK_PUT(lock);