Whamcloud - gitweb
LU-4069 build: cleanup from GOTO(label, -ERRNO)
[fs/lustre-release.git] / lustre / ldlm / ldlm_extent.c
index ab457c7..b703235 100644 (file)
@@ -784,7 +784,7 @@ int ldlm_process_extent_lock(struct ldlm_lock *lock, __u64 *flags,
                                GOTO(out, rc = 0);
                        }
 
-                       GOTO(restart, -ERESTART);
+                       GOTO(restart, rc);
                }
 
                /* this way we force client to wait for the lock