Whamcloud - gitweb
Branch: b_new_cmd
authorwangdi <wangdi>
Fri, 27 Oct 2006 06:06:28 +0000 (06:06 +0000)
committerwangdi <wangdi>
Fri, 27 Oct 2006 06:06:28 +0000 (06:06 +0000)
add gr in these 2 places

lustre/llite/file.c
lustre/lov/lov_obd.c

index 28b0286..b0579aa 100644 (file)
@@ -2245,6 +2245,7 @@ int ll_fsync(struct file *file, struct dentry *dentry, int data)
                         RETURN(rc ? rc : -ENOMEM);
 
                 oa->o_id = lsm->lsm_object_id;
+                oa->o_gr = lsm->lsm_object_gr;
                 oa->o_valid = OBD_MD_FLID | OBD_MD_FLGROUP;
                 obdo_from_inode(oa, inode, OBD_MD_FLTYPE | OBD_MD_FLATIME |
                                            OBD_MD_FLMTIME | OBD_MD_FLCTIME |
index 9c278f8..2f51851 100644 (file)
@@ -2080,6 +2080,7 @@ static int lov_join_lru(struct obd_export *exp,
                         CDEBUG(D_HA, "lov idx %d inactive\n", loi->loi_ost_idx);
 
                 submd.lsm_object_id = loi->loi_id;
+                submd.lsm_object_gr = lsm->lsm_object_gr;
                 submd.lsm_stripe_count = 0;
                 rc = obd_join_lru(lov->lov_tgts[loi->loi_ost_idx]->ltd_exp,
                                   &submd, join);