Whamcloud - gitweb
Branch b1_8
authoradilger <adilger>
Wed, 27 May 2009 21:06:07 +0000 (21:06 +0000)
committeradilger <adilger>
Wed, 27 May 2009 21:06:07 +0000 (21:06 +0000)
Don't use RETURN macro when there is no ENTRY.
This is very verbose and spams the debug log.

lustre/ldlm/ldlm_pool.c

index f8908f6..6779be5 100644 (file)
@@ -528,7 +528,7 @@ static int ldlm_cli_pool_shrink(struct ldlm_pool *pl,
          * Do not cancel locks in case lru resize is disabled for this ns.
          */
         if (!ns_connect_lru_resize(ns))
-                RETURN(0);
+                return 0;
 
         /*
          * Make sure that pool knows last SLV and Limit from obd.