X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Flustre_ver.h.in;h=15f3327d6b911ba96212630c6e216e0c69481427;hp=cb8ac717705095dc6de0cccc9ea43ffce39af2c1;hb=ee813dbaa2a2b86f4873c4c289f62a0243aa9809;hpb=0badac9d0b002d5e4399e59aa7bde28a10021f1f diff --git a/lustre/include/lustre_ver.h.in b/lustre/include/lustre_ver.h.in index cb8ac71..15f3327 100644 --- a/lustre/include/lustre_ver.h.in +++ b/lustre/include/lustre_ver.h.in @@ -8,7 +8,7 @@ #define LUSTRE_MINOR @AC_LUSTRE_MINOR@ #define LUSTRE_PATCH @AC_LUSTRE_PATCH@ #define LUSTRE_FIX @AC_LUSTRE_FIX@ -#define LUSTRE_VERSION_STRING "@AC_LUSTRE_VERSION_STRING@" +#define LUSTRE_VERSION_STRING "@PACKAGE_VERSION@" #define OBD_OCD_VERSION(major, minor, patch, fix) \ (((major) << 24) + ((minor) << 16) + ((patch) << 8) + (fix)) @@ -23,13 +23,13 @@ /* liblustre clients are only allowed to connect if their LUSTRE_FIX mismatches * by this amount (set in lustre/autoconf/lustre-version.ac). */ -#define LUSTRE_VERSION_ALLOWED_OFFSET @AC_LUSTRE_VER_ALLOWED_OFFSET@ +#define LUSTRE_VERSION_ALLOWED_OFFSET OBD_OCD_VERSION(0, 0, 1, 32) #ifdef __KERNEL__ /* If lustre version of client and servers it connects to differs by more * than this amount, client would issue a warning. * (set in lustre/autoconf/lustre-version.ac) */ -#define LUSTRE_VERSION_OFFSET_WARN @AC_LUSTRE_CLI_VER_OFFSET_WARN@ +#define LUSTRE_VERSION_OFFSET_WARN OBD_OCD_VERSION(0, 4, 50, 0) #endif #endif