From 3e7815072af1073abfcf239e57a5d699af02a1aa Mon Sep 17 00:00:00 2001 From: phil Date: Sun, 27 Jun 2004 16:30:01 +0000 Subject: [PATCH] mds_osc_destroy_orphan did an obd_destroy to the OSTs without setting the group field, which LASSERTs on the OST. --- lustre/mds/mds_unlink_open.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/mds/mds_unlink_open.c b/lustre/mds/mds_unlink_open.c index 2c1092a..c11328c 100644 --- a/lustre/mds/mds_unlink_open.c +++ b/lustre/mds/mds_unlink_open.c @@ -138,8 +138,9 @@ static int mds_osc_destroy_orphan(struct mds_obd *mds, if (oa == NULL) GOTO(out_free_memmd, rc = -ENOMEM); oa->o_id = lsm->lsm_object_id; + oa->o_gr = FILTER_GROUP_FIRST_MDS + mds->mds_num; oa->o_mode = inode->i_mode & S_IFMT; - oa->o_valid = OBD_MD_FLID | OBD_MD_FLTYPE; + oa->o_valid = OBD_MD_FLID | OBD_MD_FLTYPE | OBD_MD_FLGROUP; if (log_unlink && logcookies) { oa->o_valid |= OBD_MD_FLCOOKIE; -- 1.8.3.1