Whamcloud - gitweb
Branch: b_new_cmd
authorwangdi <wangdi>
Mon, 2 Oct 2006 18:25:37 +0000 (18:25 +0000)
committerwangdi <wangdi>
Mon, 2 Oct 2006 18:25:37 +0000 (18:25 +0000)
correct res match, after we have filter group support

lustre/lov/lov_obd.c

index 1b4a0cd..24d88ad 100644 (file)
@@ -2326,7 +2326,7 @@ static int lov_get_info(struct obd_export *exp, __u32 keylen,
                         if (lov->lov_tgts[loi->loi_ost_idx]->ltd_exp ==
                             data->lock->l_conn_export &&
                             loi->loi_id == res_id->name[0] &&
-                            loi->loi_gr == res_id->name[1]) {
+                            loi->loi_gr == res_id->name[2]) {
                                 *stripe = i;
                                 GOTO(out, rc = 0);
                         }