From 9c1bb454a31dd7f7a02488881c0c91357a253036 Mon Sep 17 00:00:00 2001 From: wangdi Date: Fri, 27 Oct 2006 06:06:28 +0000 Subject: [PATCH] Branch: b_new_cmd add gr in these 2 places --- lustre/llite/file.c | 1 + lustre/lov/lov_obd.c | 1 + 2 files changed, 2 insertions(+) diff --git a/lustre/llite/file.c b/lustre/llite/file.c index 28b0286..b0579aa 100644 --- a/lustre/llite/file.c +++ b/lustre/llite/file.c @@ -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 | diff --git a/lustre/lov/lov_obd.c b/lustre/lov/lov_obd.c index 9c278f8..2f51851 100644 --- a/lustre/lov/lov_obd.c +++ b/lustre/lov/lov_obd.c @@ -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); -- 1.8.3.1