lkml.org 
[lkml]   [2016]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 4/4] inotify: Don't include inotify.h when !CONFIG_INOTIFY_USER
Date
Signed-off-by: Nikolay Borisov <kernel@kyup.com>
---
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
\
 
 \ /
  Last update: 2016-06-01 10:21    [W:0.500 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site