From 762565089723c875f5b7a7f5fd9aafe403c23b56 Mon Sep 17 00:00:00 2001 From: zhanghc Date: Thu, 6 Nov 2008 02:24:44 +0000 Subject: [PATCH] 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 --- lustre/mdt/mdt_handler.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/mdt/mdt_handler.c b/lustre/mdt/mdt_handler.c index 833de46..3640dc9 100644 --- a/lustre/mdt/mdt_handler.c +++ b/lustre/mdt/mdt_handler.c @@ -4588,6 +4588,7 @@ static int mdt_destroy_export(struct obd_export *export) spin_unlock(&med->med_open_lock); list_for_each_entry_safe(mfd, n, &closing_list, mfd_list) { + list_del_init(&mfd->mfd_list); mdt_mfd_close(info, mfd); /* TODO: if we close the unlinked file, * we need to remove it's objects from OST */ -- 1.8.3.1