From 059c1f78e9d9c52695865469a2473f166084309a Mon Sep 17 00:00:00 2001 From: bobijam Date: Thu, 25 Sep 2008 03:27:56 +0000 Subject: [PATCH] Branch b1_8_gate 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 33c34a5..048aab2 100644 --- a/lustre/llite/file.c +++ b/lustre/llite/file.c @@ -2274,6 +2274,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; @@ -2446,6 +2447,7 @@ cleanup: } RETURN(rc); } +#endif /* LUSTRE_FIX >= 50 */ /** * Close inode open handle -- 1.8.3.1