From d044df0004da95df09d0b3af942413a4f8044c04 Mon Sep 17 00:00:00 2001 From: Peng Tao Date: Wed, 22 Aug 2012 16:55:22 +0800 Subject: [PATCH] LU-1994 kernel: v3.5 defines INVALID_UID With kernel commit 7a4e7408, Lustre doesn't need to redefine INVALID_UID. Signed-off-by: Peng Tao Change-Id: I96b854cc51db735d8c985528c879fbeb5b049ab9 Reviewed-on: http://review.whamcloud.com/3755 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Oleg Drokin --- lustre/include/lustre_cfg.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/include/lustre_cfg.h b/lustre/include/lustre_cfg.h index 7262be3..9d0fd52 100644 --- a/lustre/include/lustre_cfg.h +++ b/lustre/include/lustre_cfg.h @@ -286,7 +286,9 @@ static inline int lustre_cfg_sanity_check(void *buf, int len) #include +#ifndef INVALID_UID #define INVALID_UID (-1) +#endif /** @} cfg */ -- 1.8.3.1