summaryrefslogtreecommitdiffstats
path: root/fs/notify/fanotify
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-12-18 03:24:26 +0100
committerEric Paris <eparis@redhat.com>2010-07-28 15:58:56 +0200
commitef601a9cfd21fe9ce57e0ee3f4a31552ffb96366 (patch)
tree6b268bba6e0bb4ef09f634519a13233c10cb2a5a /fs/notify/fanotify
parentfanotify: send events using read (diff)
downloadlinux-ef601a9cfd21fe9ce57e0ee3f4a31552ffb96366.tar.xz
linux-ef601a9cfd21fe9ce57e0ee3f4a31552ffb96366.zip
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 f9d7ae081f85..668e5df28e28 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