Whamcloud - gitweb
b=23595 return registration errors
[fs/lustre-release.git] / lustre / mgs / mgs_handler.c
index f7bb364..2796994 100644 (file)
@@ -530,6 +530,7 @@ out:
 out_nolock:
         CDEBUG(D_MGS, "replying with %s, index=%d, rc=%d\n", mti->mti_svname,
                mti->mti_stripe_index, rc);
+        req->rq_status = rc;
         rc = req_capsule_server_pack(&req->rq_pill);
         if (rc)
                 RETURN(rc);