diff --git a/lustre/llite/llite_lib.c b/lustre/llite/llite_lib.c
index 241bcd4a25a97f311c6be74cd1718f15549d57e8..efdb244284783bdff58b9d27faba628de8635073 100644
--- a/lustre/llite/llite_lib.c
+++ b/lustre/llite/llite_lib.c
@@ -87,7 +87,7 @@ static struct ll_sb_info *ll_init_sbi(void)
         list_add_tail(&sbi->ll_list, &ll_super_blocks);
         spin_unlock(&ll_sb_lock);
 
-#ifdef ENABLE_CHECKSUM
+#ifdef ENABLE_LLITE_CHECKSUM
         sbi->ll_flags |= LL_SBI_CHECKSUM;
 #endif