Whamcloud - gitweb
Do not call mdt_handle_idmap here, it will be called from mdt_req_handle again.
authorfanyong <fanyong>
Wed, 1 Nov 2006 09:39:50 +0000 (09:39 +0000)
committerfanyong <fanyong>
Wed, 1 Nov 2006 09:39:50 +0000 (09:39 +0000)
lustre/mdt/mdt_handler.c

index 8c0812f..2348782 100644 (file)
@@ -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) {