From 4a1c6939644302c1b7a86593fe32637b8b2a18c1 Mon Sep 17 00:00:00 2001 From: zhanghc Date: Wed, 12 Nov 2008 04:05:26 +0000 Subject: [PATCH] branch b1_8_gate b=17505 remove "mfd" from "cloing_list" for the "mfd" will be freed in mds_mfd_close i=robert.read --- lustre/mds/handler.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/mds/handler.c b/lustre/mds/handler.c index 3b6e0a1..2cc1538 100644 --- a/lustre/mds/handler.c +++ b/lustre/mds/handler.c @@ -483,6 +483,7 @@ static int mds_destroy_export(struct obd_export *export) * is_orphan race, mds_mfd_close drops it */ 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, !(export->exp_flags & OBD_OPT_FAILOVER), lmm, lmm_size, logcookies, -- 1.8.3.1