Whamcloud - gitweb
fix warning with ll_bdi_num
authorJohann Lombardi <johann@sun.com>
Thu, 24 Jun 2010 16:54:12 +0000 (18:54 +0200)
committerJohann Lombardi <johann@sun.com>
Thu, 24 Jun 2010 16:54:12 +0000 (18:54 +0200)
lustre/llite/llite_lib.c

index 8e07388..fd5059a 100644 (file)
@@ -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)
 {