Whamcloud - gitweb
b=23595 return registration errors
authorNathan Rutman <nathan.rutman@oracle.com>
Mon, 23 Aug 2010 17:59:22 +0000 (10:59 -0700)
committerJohann Lombardi <johann.lombardi@oracle.com>
Tue, 24 Aug 2010 16:27:12 +0000 (18:27 +0200)
i=johann
i=vitaly

lustre/mgs/mgs_handler.c

index 4e85cd4..d8e3550 100644 (file)
@@ -530,6 +530,7 @@ static int mgs_set_info_rpc(struct ptlrpc_request *req)
         lustre_cfg_bufs_reset(&bufs, NULL);
         lustre_cfg_bufs_set_string(&bufs, 1, msp->mgs_param);
         lcfg = lustre_cfg_new(LCFG_PARAM, &bufs);
+        req->rq_status = rc;
         rc = mgs_setparam(obd, lcfg, fsname);
         if (rc) {
                 CERROR("Error %d in setting the parameter %s for fs %s\n",