Thread (8 messages) 8 messages, 3 authors, 2016-06-06
STALE3690d

[PATCH 4/4] inotify: Don't include inotify.h when !CONFIG_INOTIFY_USER

From: Nikolay Borisov <hidden>
Date: 2016-06-01 07:53:32
Also in: lkml
Subsystem: filesystems (vfs and infrastructure), fsnotify: filesystem notification infrastructure, the rest · Maintainers: Alexander Viro, Christian Brauner, Jan Kara, Linus Torvalds

Signed-off-by: Nikolay Borisov <redacted>
---
 fs/notify/fdinfo.c | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/fs/notify/fdinfo.c b/fs/notify/fdinfo.c
index fd98e5100cab..62068f89d144 100644
--- a/fs/notify/fdinfo.c
+++ b/fs/notify/fdinfo.c
@@ -13,7 +13,10 @@
 #include <linux/proc_fs.h>
 #include <linux/exportfs.h>
 
+#ifdef CONFIG_INOTIFY_USER
 #include "inotify/inotify.h"
+#endif
+
 #include "../fs/mount.h"
 
 #if defined(CONFIG_PROC_FS)
-- 
2.5.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help