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

b=17505

removing mfd from 'closing_list' to fix ASSERTION(list_empty(&mfd->mfd_list))
in mdt_mfd_free in mdt_open.c

i=robert.read
parent 8e42f7b9
No related branches found
No related tags found
No related merge requests found
...@@ -4588,6 +4588,7 @@ static int mdt_destroy_export(struct obd_export *export) ...@@ -4588,6 +4588,7 @@ static int mdt_destroy_export(struct obd_export *export)
spin_unlock(&med->med_open_lock); spin_unlock(&med->med_open_lock);
list_for_each_entry_safe(mfd, n, &closing_list, mfd_list) { list_for_each_entry_safe(mfd, n, &closing_list, mfd_list) {
list_del_init(&mfd->mfd_list);
mdt_mfd_close(info, mfd); mdt_mfd_close(info, mfd);
/* TODO: if we close the unlinked file, /* TODO: if we close the unlinked file,
* we need to remove it's objects from OST */ * we need to remove it's objects from OST */
......
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