Skip to content
Snippets Groups Projects
Commit 294526a1 authored by Hongchao Zhang's avatar Hongchao Zhang
Browse files

branch b1_6

b=17505

remove "mfd" from "cloing_list" for the "mfd" will be freed in mds_mfd_close

i=robert.read
parent dc1bb083
No related branches found
No related tags found
No related merge requests found
...@@ -492,6 +492,7 @@ static int mds_destroy_export(struct obd_export *export) ...@@ -492,6 +492,7 @@ static int mds_destroy_export(struct obd_export *export)
* is_orphan race, mds_mfd_close drops it */ * is_orphan race, mds_mfd_close drops it */
MDS_DOWN_WRITE_ORPHAN_SEM(mfd->mfd_dentry->d_inode); MDS_DOWN_WRITE_ORPHAN_SEM(mfd->mfd_dentry->d_inode);
list_del_init(&mfd->mfd_list);
rc = mds_mfd_close(NULL, REQ_REC_OFF, obd, mfd, rc = mds_mfd_close(NULL, REQ_REC_OFF, obd, mfd,
!(export->exp_flags & OBD_OPT_FAILOVER), !(export->exp_flags & OBD_OPT_FAILOVER),
lmm, lmm_size, logcookies, lmm, lmm_size, logcookies,
......
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