From 16e62b219483a4da6015a48e3c60c6bd7c15401e Mon Sep 17 00:00:00 2001
From: bobijam <bobijam>
Date: Thu, 25 Sep 2008 03:25:21 +0000
Subject: [PATCH] Branch HEAD b=16929

quench the "defined but not called" compiler warnings.
---
 lustre/llite/file.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lustre/llite/file.c b/lustre/llite/file.c
index a1b0ef639e..6812b78aca 100644
--- a/lustre/llite/file.c
+++ b/lustre/llite/file.c
@@ -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
-- 
GitLab