Whamcloud - gitweb
- locks and dentries should be released in the case request is being handled by wrong MDS
authoryury <yury>
Fri, 25 Feb 2005 19:45:18 +0000 (19:45 +0000)
committeryury <yury>
Fri, 25 Feb 2005 19:45:18 +0000 (19:45 +0000)
and should be restared with correct one in mds_getattr_lock().

lustre/mds/handler.c

index bf83cd8..f7dcd86 100644 (file)
@@ -1040,7 +1040,9 @@ static int mds_getattr_lock(struct ptlrpc_request *req, int offset,
                         if (rc)
                                 GOTO(cleanup, rc);
                 
-                        /*
+                       cleanup_phase = 2; /* dchild, dparent, locks */
+                        
+                       /*
                          * let's make sure this name should leave on this mds
                          * node.
                          */