Whamcloud - gitweb
add lu_object_exists() and use it
[fs/lustre-release.git] / lustre / include / linux / lustre_ver.h.in
1 #ifndef _LUSTRE_VER_H_
2 #define _LUSTRE_VER_H_
3
4 #include <linux/lustre_idl.h>
5
6 #define LUSTRE_MAJOR @AC_LUSTRE_MAJOR@
7 #define LUSTRE_MINOR @AC_LUSTRE_MINOR@
8 #define LUSTRE_PATCH @AC_LUSTRE_PATCH@
9 #define LUSTRE_FIX @AC_LUSTRE_FIX@
10 #define LUSTRE_VERSION_STRING "@AC_LUSTRE_VERSION_STRING@"
11
12 // liblustre clients are only allowed to connect if their LUSTRE_FIX mismatches
13 // by this amount (set in lustre/autoconf/lustre-version.ac)
14 #define LUSTRE_VERSION_ALLOWED_OFFSET @AC_LUSTRE_VER_ALLOWED_OFFSET@
15
16 // if lustre version of client and servers it connects to differs by more than
17 // this amount, client would issue a warning
18 // (set in lustre/autoconf/lustre-version.ac)
19 #define LUSTRE_VERSION_OFFSET_WARN @AC_LUSTRE_VER_OFFSET_WARN@
20
21 #define LUSTRE_VERSION_CODE OBD_OCD_VERSION(LUSTRE_MAJOR,LUSTRE_MINOR,LUSTRE_PATCH,LUSTRE_FIX)
22
23 #endif