summaryrefslogtreecommitdiffstats
path: root/fs/notify/fanotify
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-12-17 21:24:26 -0500
committerEric Paris <eparis@redhat.com>2010-07-28 09:58:56 -0400
commitef601a9cfd21fe9ce57e0ee3f4a31552ffb96366 (patch)
tree6b268bba6e0bb4ef09f634519a13233c10cb2a5a /fs/notify/fanotify
parenta1014f102322398e67524b68b3300acf384e6c1f (diff)
downloadop-kernel-dev-ef601a9cfd21fe9ce57e0ee3f4a31552ffb96366.zip
op-kernel-dev-ef601a9cfd21fe9ce57e0ee3f4a31552ffb96366.tar.gz
fanotify: select ANON_INODES.
fanotify references anon_inode_getfd(), which is only available with ANON_INODES enabled. Presently this bails out with the following: LD vmlinux fs/built-in.o: In function `sys_fanotify_init': (.text+0x26d1c): undefined reference to `anon_inode_getfd' make: *** [vmlinux] Error 1 which is trivially corrected by adding an ANON_INODES select. Signed-off-by: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'fs/notify/fanotify')
-rw-r--r--fs/notify/fanotify/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/notify/fanotify/Kconfig b/fs/notify/fanotify/Kconfig
index f9d7ae0..668e5df 100644
--- a/fs/notify/fanotify/Kconfig
+++ b/fs/notify/fanotify/Kconfig
@@ -1,6 +1,7 @@
config FANOTIFY
bool "Filesystem wide access notification"
select FSNOTIFY
+ select ANON_INODES
default y
---help---
Say Y here to enable fanotify suport. fanotify is a file access
OpenPOWER on IntegriCloud