[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1464767580-22732-5-git-send-email-kernel@kyup.com>
Date: Wed, 1 Jun 2016 10:53:00 +0300
From: Nikolay Borisov <kernel@...p.com>
To: john@...nmccutchan.com, eparis@...hat.com, ebiederm@...ssion.com
Cc: jack@...e.cz, linux-kernel@...r.kernel.org, gorcunov@...nvz.org,
avagin@...nvz.org, netdev@...r.kernel.org,
operations@...eground.com, Nikolay Borisov <kernel@...p.com>
Subject: [PATCH 4/4] inotify: Don't include inotify.h when !CONFIG_INOTIFY_USER
Signed-off-by: Nikolay Borisov <kernel@...p.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
Powered by blists - more mailing lists