Whamcloud - gitweb
must reset the upgrade flag or we try to upgrade every time the server
authornathan <nathan>
Thu, 8 Mar 2007 17:13:23 +0000 (17:13 +0000)
committernathan <nathan>
Thu, 8 Mar 2007 17:13:23 +0000 (17:13 +0000)
mounts. (recently introduced bug.)

lustre/mgs/mgs_handler.c

index e6ba9be..b53339a 100644 (file)
@@ -431,7 +431,8 @@ static int mgs_handle_target_reg(struct ptlrpc_request *req)
                 }
 
                 mti->mti_flags &= ~(LDD_F_VIRGIN | LDD_F_UPDATE | 
-                                    LDD_F_NEED_INDEX | LDD_F_WRITECONF);
+                                    LDD_F_NEED_INDEX | LDD_F_WRITECONF |
+                                    LDD_F_UPGRADE14);
                 mti->mti_flags |= LDD_F_REWRITE_LDD;
         }