From 61fa5f71493ee19e9a7a23eeb091f9799559d721 Mon Sep 17 00:00:00 2001 From: Johann Lombardi Date: Thu, 24 Jun 2010 18:54:12 +0200 Subject: [PATCH] fix warning with ll_bdi_num --- lustre/llite/llite_lib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/llite/llite_lib.c b/lustre/llite/llite_lib.c index 8e07388..fd5059a 100644 --- a/lustre/llite/llite_lib.c +++ b/lustre/llite/llite_lib.c @@ -1007,7 +1007,9 @@ static struct backing_dev_info ll_backing_dev_info = { #endif }; +#ifdef HAVE_NEW_BACKING_DEV_INFO static atomic_t ll_bdi_num = ATOMIC_INIT(0); +#endif int ll_fill_super(struct super_block *sb) { -- 1.8.3.1