From 92d6579d114405dd7978656cc8a6287fd784d724 Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 5 Jan 2006 19:46:14 +0000 Subject: [PATCH] b=9678 r=adilger - free pool after client_obd_cleanup() because the latter may abort in-flight requests from the pool --- lustre/osc/osc_request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/osc/osc_request.c b/lustre/osc/osc_request.c index c65b2ee..b715d93 100644 --- a/lustre/osc/osc_request.c +++ b/lustre/osc/osc_request.c @@ -3352,9 +3352,9 @@ int osc_cleanup(struct obd_device *obd) /* free memory of osc quota cache */ lquota_cleanup(quota_interface, obd); + rc = client_obd_cleanup(obd); ptlrpc_free_rq_pool(cli->cl_rq_pool); - rc = client_obd_cleanup(obd); ptlrpcd_decref(); RETURN(rc); } -- 1.8.3.1