Whamcloud - gitweb
b=24291 Ignore PARAM_NETWORK in mgs_write_log_param()
authorZhiqi Tao <zhiqi.tao@oracle.com>
Thu, 16 Dec 2010 10:28:29 +0000 (21:28 +1100)
committerVitaly Fertman <vitaly.fertman@oracle.com>
Wed, 22 Dec 2010 01:17:41 +0000 (04:17 +0300)
i=alexg
i=adilger

lustre/mgs/mgs_llog.c

index 643b775..a8bb398 100644 (file)
@@ -2402,6 +2402,10 @@ static int mgs_write_log_param(struct obd_device *obd, struct fs_db *fsdb,
         if (class_match_param(ptr, PARAM_MGSNODE, NULL) == 0)
                 GOTO(end, rc);
 
+       /* Processed in ost/mdt */
+       if (class_match_param(ptr, PARAM_NETWORK, NULL) == 0)
+               GOTO(end, rc);
+
         /* Processed in mgs_write_log_ost */
         if (class_match_param(ptr, PARAM_FAILMODE, NULL) == 0) {
                 if (mti->mti_flags & LDD_F_PARAM) {