From 02fb971279b78c000734c132967c25dc1ef05e69 Mon Sep 17 00:00:00 2001 From: shadow Date: Thu, 15 Oct 2009 02:54:14 +0000 Subject: [PATCH] lost part of patch. Branch b1_8 b=19557 --- lustre/mds/handler.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/lustre/mds/handler.c b/lustre/mds/handler.c index df0f3d2..d2e1bca 100644 --- a/lustre/mds/handler.c +++ b/lustre/mds/handler.c @@ -537,20 +537,6 @@ static int mds_disconnect(struct obd_export *exp) rc = server_disconnect_export(exp); - /* complete all outstanding replies */ - spin_lock(&exp->exp_lock); - while (!list_empty(&exp->exp_outstanding_replies)) { - struct ptlrpc_reply_state *rs = - list_entry(exp->exp_outstanding_replies.next, - struct ptlrpc_reply_state, rs_exp_list); - struct ptlrpc_service *svc = rs->rs_service; - - spin_lock(&svc->srv_lock); - list_del_init(&rs->rs_exp_list); - ptlrpc_schedule_difficult_reply(rs); - spin_unlock(&svc->srv_lock); - } - spin_unlock(&exp->exp_lock); rc = mds_cleanup_mfd(exp); class_export_put(exp); -- 1.8.3.1