Whamcloud - gitweb
Branch b1_8_gate
authoryangsheng <yangsheng>
Wed, 3 Sep 2008 09:18:18 +0000 (09:18 +0000)
committeryangsheng <yangsheng>
Wed, 3 Sep 2008 09:18:18 +0000 (09:18 +0000)
b=16580
i=johann, shadow

Fix build issue for sles9/ppc64.

lustre/utils/wirecheck.c

index 3b4acba..d63c911 100644 (file)
@@ -1430,7 +1430,7 @@ main(int argc, char **argv)
         check_lustre_disk_data();
         check_ll_user_fiemap();
         check_ll_fiemap_extent();
-        printf("#ifdef LIBLUSTRE_POSIX_ACL\n");
+        printf("#if defined(LIBLUSTRE_POSIX_ACL) && defined(CONFIG_FS_POSIX_ACL)\n");
 #ifndef LIBLUSTRE_POSIX_ACL
 #error build generator without LIBLUSTRE_POSIX_ACL defined - produce wrong check code.
 #endif