From: alex Date: Wed, 11 Aug 2004 00:29:03 +0000 (+0000) Subject: - export leak fixed: we need not 2nd obd_llog_init() X-Git-Tag: 1.3.4~487 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=730946a54053264d97701b8aaeedbde82e7cfe4f;p=fs%2Flustre-release.git - export leak fixed: we need not 2nd obd_llog_init() --- diff --git a/lustre/lmv/lmv_obd.c b/lustre/lmv/lmv_obd.c index cf2ae96..1cb4e0a 100644 --- a/lustre/lmv/lmv_obd.c +++ b/lustre/lmv/lmv_obd.c @@ -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); } diff --git a/lustre/tests/sanity-lmv.sh b/lustre/tests/sanity-lmv.sh index 4799a4b..a7d79cc 100644 --- a/lustre/tests/sanity-lmv.sh +++ b/lustre/tests/sanity-lmv.sh @@ -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