Commit 59ca8f20 authored by Oleg Drokin's avatar Oleg Drokin Committed by Greg Kroah-Hartman

staging/lustre: Remove unused LUSTRE_VERSION_ALLOWED_OFFSET define

LUSTRE_VERSION_ALLOWED_OFFSET is only used on the server to disallow
connection of old userspace clients.
Signed-off-by: default avatarOleg Drokin <green@linuxhacker.ru>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ccaeef6c
...@@ -11,13 +11,10 @@ ...@@ -11,13 +11,10 @@
LUSTRE_MINOR, LUSTRE_PATCH, \ LUSTRE_MINOR, LUSTRE_PATCH, \
LUSTRE_FIX) LUSTRE_FIX)
/* liblustre clients are only allowed to connect if their LUSTRE_FIX mismatches /*
* by this amount (set in lustre/autoconf/lustre-version.ac). */ * If lustre version of client and servers it connects to differs by more
#define LUSTRE_VERSION_ALLOWED_OFFSET OBD_OCD_VERSION(0, 0, 1, 32)
/* If lustre version of client and servers it connects to differs by more
* than this amount, client would issue a warning. * than this amount, client would issue a warning.
* (set in lustre/autoconf/lustre-version.ac) */ */
#define LUSTRE_VERSION_OFFSET_WARN OBD_OCD_VERSION(0, 4, 0, 0) #define LUSTRE_VERSION_OFFSET_WARN OBD_OCD_VERSION(0, 4, 0, 0)
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment