Skip to content
Snippets Groups Projects
Commit 3e781507 authored by Phil Schwan's avatar Phil Schwan
Browse files

mds_osc_destroy_orphan did an obd_destroy to the OSTs without setting

the group field, which LASSERTs on the OST.
parent e44e9bbc
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment