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>
This commit is contained in:
Paul Mundt 2009-12-17 21:24:26 -05:00 коммит произвёл Eric Paris
Родитель a1014f1023
Коммит ef601a9cfd
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -1,6 +1,7 @@
config FANOTIFY config FANOTIFY
bool "Filesystem wide access notification" bool "Filesystem wide access notification"
select FSNOTIFY select FSNOTIFY
select ANON_INODES
default y default y
---help--- ---help---
Say Y here to enable fanotify suport. fanotify is a file access Say Y here to enable fanotify suport. fanotify is a file access