Skip to content

Commit

Permalink
Inotify: undefined reference to `anon_inode_getfd'
Browse files Browse the repository at this point in the history
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 <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Eric Paris <eparis@redhat.com>
  • Loading branch information
Russell King authored and Eric Paris committed May 12, 2010
1 parent cea0d76 commit e7b702b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/notify/inotify/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ config INOTIFY_USER
bool "Inotify support for userspace"
select ANON_INODES
select FSNOTIFY
select ANON_INODES
default y
---help---
Say Y here to enable inotify support for userspace, including the
Expand Down

0 comments on commit e7b702b

Please sign in to comment.