Skip to content

Commit

Permalink
fanotify: select ANON_INODES.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Mundt authored and Eric Paris committed Jul 28, 2010
1 parent a1014f1 commit ef601a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/notify/fanotify/Kconfig
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit ef601a9

Please sign in to comment.