diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-12-17 21:24:26 -0500 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2010-07-28 09:58:56 -0400 |
commit | ef601a9cfd21fe9ce57e0ee3f4a31552ffb96366 (patch) | |
tree | 6b268bba6e0bb4ef09f634519a13233c10cb2a5a | |
parent | a1014f102322398e67524b68b3300acf384e6c1f (diff) |
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>
-rw-r--r-- | fs/notify/fanotify/Kconfig | 1 |
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 @@ | |||
1 | config FANOTIFY | 1 | config FANOTIFY |
2 | bool "Filesystem wide access notification" | 2 | bool "Filesystem wide access notification" |
3 | select FSNOTIFY | 3 | select FSNOTIFY |
4 | select ANON_INODES | ||
4 | default y | 5 | default y |
5 | ---help--- | 6 | ---help--- |
6 | Say Y here to enable fanotify suport. fanotify is a file access | 7 | Say Y here to enable fanotify suport. fanotify is a file access |