Whamcloud - gitweb
Branch HEAD
authorbobijam <bobijam>
Thu, 25 Sep 2008 03:25:21 +0000 (03:25 +0000)
committerbobijam <bobijam>
Thu, 25 Sep 2008 03:25:21 +0000 (03:25 +0000)
b=16929

quench the "defined but not called" compiler warnings.

lustre/llite/file.c

index a1b0ef6..6812b78 100644 (file)
@@ -2315,6 +2315,7 @@ static int ll_put_grouplock(struct inode *inode, struct file *file,
         RETURN(0);
 }
 
+#if LUSTRE_FIX >= 50
 static int join_sanity_check(struct inode *head, struct inode *tail)
 {
         ENTRY;
@@ -2485,6 +2486,7 @@ cleanup:
         }
         RETURN(rc);
 }
+#endif
 
 /**
  * Close inode open handle