Fix "undefined reference to `anon_inode_getfd'"
Subsystems (3)
Fix:
fs/built-in.o: In function `sys_inotify_init1':
summary.c:(.text+0x347a4): undefined reference to `anon_inode_getfd'
found by kautobuild with arms bcmring_defconfig, which ends up with INOTIFY_USER enabled (through the 'default y') but leaves ANON_INODES unset. However, inotify_user.c uses anon_inode_getfd().
Signed-off-by Russell King <[email protected]>
--- fs/notify/inotify/Kconfig | 1 + 1 file changed, 1 insertion(+)
fs/notify/inotify/Kconfig +1 -0
@@ -16,6 +16,7 @@ config INOTIFY config INOTIFY_USER bool "Inotify support for userspace" select FSNOTIFY + select ANON_INODES default y ---help--- Say Y here to enable inotify support for userspace, including the
Signature · 3 lines
Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: