Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9987b4f
)
LU-1994 kernel: v3.5 defines INVALID_UID
author
Peng Tao
<tao.peng@emc.com>
Wed, 22 Aug 2012 08:55:22 +0000
(16:55 +0800)
committer
Oleg Drokin
<green@whamcloud.com>
Fri, 2 Nov 2012 18:50:02 +0000
(14:50 -0400)
With kernel commit
7a4e7408
, Lustre doesn't need to redefine
INVALID_UID.
Signed-off-by: Peng Tao <tao.peng@emc.com>
Change-Id: I96b854cc51db735d8c985528c879fbeb5b049ab9
Reviewed-on: http://review.whamcloud.com/3755
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_cfg.h
patch
|
blob
|
history
diff --git
a/lustre/include/lustre_cfg.h
b/lustre/include/lustre_cfg.h
index
7262be3
..
9d0fd52
100644
(file)
--- 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 <lustre/lustre_user.h>
+#ifndef INVALID_UID
#define INVALID_UID (-1)
+#endif
/** @} cfg */