Whamcloud - gitweb
b=14836
authornathan <nathan>
Fri, 19 Sep 2008 23:45:56 +0000 (23:45 +0000)
committernathan <nathan>
Fri, 19 Sep 2008 23:45:56 +0000 (23:45 +0000)
i=adilger
i=johann
attachments 19188
qos remove extra putref

lustre/lov/lov_qos.c

index 0080dea..d37cfd7 100644 (file)
@@ -658,7 +658,7 @@ static int alloc_qos(struct obd_export *exp, int *idx_arr, int *stripe_cnt,
         ENTRY;
 
         if (stripe_cnt_min < 1)
-                GOTO(out, rc = -EINVAL);
+                RETURN(-EINVAL);
 
         lov_getref(exp->exp_obd);
         down_write(&lov->lov_qos.lq_rw_sem);