fanotify: select ANON_INODES.
PATCH 1/1 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 vmlinuxfs/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 <[email protected]>
---
fs/notify/fanotify/Kconfig | 1 + 1 file changed, 1 insertion(+)
fs/notify/fanotify/Kconfig +1 -0
@@ -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
Eric Paris
AppliedQuoted 11 lines · Paul Mundt
fanotify references
anon_inode_getfd(), which is only available withANON_INODESenabled. 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 1which is trivially corrected by adding an
ANON_INODESselect.Signed-off-by Paul Mundt <[email protected]>
Thanks, applied!
Quoted 17 lines
---
fs/notify/fanotify/Kconfig | 1 + 1 file changed, 1 insertion(+)fs/notify/fanotify/Kconfig +1
-0@@ -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