Whamcloud - gitweb
b=23786 make lh_exit code C99 compliant
authorDmitry Zogin <dmitry.zoguine@oracle.com>
Fri, 17 Dec 2010 00:18:07 +0000 (03:18 +0300)
committerAndrew Perepechko <andrew.perepechko@oracle.com>
Fri, 17 Dec 2010 00:18:07 +0000 (03:18 +0300)
Based on the patch from Kenneth D. Matney, Sr. <matneykdsr@ornl.gov>

i=Andreas Dilger
i=Andrew Perepechko

lustre/include/class_hash.h

index 0048b12..85aaefe 100644 (file)
@@ -157,7 +157,7 @@ lh_exit(lustre_hash_t *lh, struct hlist_node *hnode)
         LASSERT(LHO(lh));
 
         if (LHP(lh, exit))
-                return LHP(lh, exit)(hnode);
+                LHP(lh, exit)(hnode);
 }
 
 /* Validate hnode references the correct key */