From 6363a8bfb7eb5786698468b765a8f85f8fd592cf Mon Sep 17 00:00:00 2001 From: fanyong Date: Wed, 1 Nov 2006 09:39:50 +0000 Subject: [PATCH] Do not call mdt_handle_idmap here, it will be called from mdt_req_handle again. --- lustre/mdt/mdt_handler.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/lustre/mdt/mdt_handler.c b/lustre/mdt/mdt_handler.c index 8c0812f..2348782 100644 --- a/lustre/mdt/mdt_handler.c +++ b/lustre/mdt/mdt_handler.c @@ -2051,8 +2051,17 @@ static int mdt_recovery(struct mdt_thread_info *info) case SEC_CTX_INIT: case SEC_CTX_INIT_CONT: case SEC_CTX_FINI: - mdt_handle_idmap(info); - RETURN(+1); + { +#if 0 + int rc; + + rc = mdt_handle_idmap(info); + if (rc) + RETURN(rc); + else +#endif + RETURN(+1); + } } if (req->rq_export == NULL) { -- 1.8.3.1