Whamcloud - gitweb
LU-1994 kernel: v3.5 defines INVALID_UID
[fs/lustre-release.git] / lustre / include / lustre_cfg.h
index 7262be3..9d0fd52 100644 (file)
@@ -286,7 +286,9 @@ static inline int lustre_cfg_sanity_check(void *buf, int len)
 
 #include <lustre/lustre_user.h>
 
 
 #include <lustre/lustre_user.h>
 
+#ifndef INVALID_UID
 #define INVALID_UID     (-1)
 #define INVALID_UID     (-1)
+#endif
 
 /** @} cfg */
 
 
 /** @} cfg */