From 730946a54053264d97701b8aaeedbde82e7cfe4f Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 11 Aug 2004 00:29:03 +0000 Subject: [PATCH] - export leak fixed: we need not 2nd obd_llog_init() --- lustre/lmv/lmv_obd.c | 5 ----- lustre/tests/sanity-lmv.sh | 8 ++++---- 2 files changed, 4 insertions(+), 9 deletions(-) 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 -- 1.8.3.1