Whamcloud - gitweb
- export leak fixed: we need not 2nd obd_llog_init()
authoralex <alex>
Wed, 11 Aug 2004 00:29:03 +0000 (00:29 +0000)
committeralex <alex>
Wed, 11 Aug 2004 00:29:03 +0000 (00:29 +0000)
lustre/lmv/lmv_obd.c
lustre/tests/sanity-lmv.sh

index cf2ae96..1cb4e0a 100644 (file)
@@ -563,11 +563,6 @@ static int lmv_setup(struct obd_device *obd, obd_count len, void *buf)
                 RETURN(-EINVAL);
         }
 
-        rc = obd_llog_init(obd, &obd->obd_llogs, tgt_obd, 0, NULL);
-        if (rc) {
-                CERROR("failed to setup llogging subsystems\n");
-        }
-
         RETURN(rc);
 }
 
index 4799a4b..a7d79cc 100644 (file)
@@ -181,10 +181,10 @@ fi
 DIR=${DIR:-$MOUNT}
 [ -z "`echo $DIR | grep $MOUNT`" ] && echo "$DIR not in $MOUNT" && exit 99
 
-LOVNAME=`cat /proc/fs/lustre/llite/fs0/lov/common_name`
-OSTCOUNT=`cat /proc/fs/lustre/lov/$LOVNAME/numobd`
-STRIPECOUNT=`cat /proc/fs/lustre/lov/$LOVNAME/stripecount`
-STRIPESIZE=`cat /proc/fs/lustre/lov/$LOVNAME/stripesize`
+#LOVNAME=`cat /proc/fs/lustre/llite/fs0/lov/common_name`
+#OSTCOUNT=`cat /proc/fs/lustre/lov/$LOVNAME/numobd`
+#STRIPECOUNT=`cat /proc/fs/lustre/lov/$LOVNAME/stripecount`
+#STRIPESIZE=`cat /proc/fs/lustre/lov/$LOVNAME/stripesize`
 
 [ -f $DIR/d52a/foo ] && chattr -a $DIR/d52a/foo
 [ -f $DIR/d52b/foo ] && chattr -i $DIR/d52b/foo