From: deshmukh Date: Wed, 9 Dec 2009 09:26:07 +0000 (+0000) Subject: b=20655 X-Git-Tag: GIT_EPOCH_B_HD_KDMU~5 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=0d962cd68751fb5b28707a3409580f0e5f90d577;p=fs%2Flustre-release.git b=20655 i=sheng.yang - Fixed the patchless client build failure for ext4 on HEAD. - And ldiskfs will be ext4 by default on HEAD for RHEL5. --- diff --git a/lustre/autoconf/lustre-core.m4 b/lustre/autoconf/lustre-core.m4 index 419c686..11e6569 100644 --- a/lustre/autoconf/lustre-core.m4 +++ b/lustre/autoconf/lustre-core.m4 @@ -8,7 +8,7 @@ AC_DEFUN([LC_CONFIG_SRCDIR], [AC_CONFIG_SRCDIR([lustre/obdclass/obdo.c]) libcfs_is_module=yes -ldiskfs_is_ext4=no +ldiskfs_is_ext4=yes ]) # diff --git a/lustre/obdclass/hash.c b/lustre/obdclass/hash.c index 6b801ef..5ad1e91 100644 --- a/lustre/obdclass/hash.c +++ b/lustre/obdclass/hash.c @@ -14,19 +14,14 @@ */ #include - -#ifdef HAVE_EXT4_LDISKFS -#include -#else -#include -#endif - #include #ifdef HAVE_SERVER_SUPPORT #ifdef HAVE_EXT4_LDISKFS +#include #include #else +#include #include #endif diff --git a/lustre/obdclass/mea.c b/lustre/obdclass/mea.c index 2e5946a..550bc25 100644 --- a/lustre/obdclass/mea.c +++ b/lustre/obdclass/mea.c @@ -51,18 +51,13 @@ #ifdef __KERNEL__ -#ifdef HAVE_EXT4_LDISKFS -#include -#else -#include -#endif - #ifdef HAVE_SERVER_SUPPORT -/* LDISKFS_SB() */ #ifdef HAVE_EXT4_LDISKFS +#include #include #else +#include #include #endif