Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-549 llite: Improve statfs performance if selinux is disabled
[fs/lustre-release.git]
/
lustre
/
include
/
linux
/
lustre_compat25.h
diff --git
a/lustre/include/linux/lustre_compat25.h
b/lustre/include/linux/lustre_compat25.h
index
0a97aa1
..
044b6e9
100644
(file)
--- a/
lustre/include/linux/lustre_compat25.h
+++ b/
lustre/include/linux/lustre_compat25.h
@@
-858,5
+858,12
@@
static inline int ll_quota_off(struct super_block *sb, int off, int remount)
# define TIMES_SET_FLAGS (ATTR_MTIME_SET | ATTR_ATIME_SET)
#endif
+#ifndef HAVE_SELINUX_IS_ENABLED
+static inline bool selinux_is_enabled(void)
+{
+ return 0;
+}
+#endif
+
#endif /* __KERNEL__ */
#endif /* _COMPAT25_H */