Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e44e9bb
)
mds_osc_destroy_orphan did an obd_destroy to the OSTs without setting
author
phil
<phil>
Sun, 27 Jun 2004 16:30:01 +0000
(16:30 +0000)
committer
phil
<phil>
Sun, 27 Jun 2004 16:30:01 +0000
(16:30 +0000)
the group field, which LASSERTs on the OST.
lustre/mds/mds_unlink_open.c
patch
|
blob
|
history
diff --git
a/lustre/mds/mds_unlink_open.c
b/lustre/mds/mds_unlink_open.c
index
2c1092a
..
c11328c
100644
(file)
--- 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;