linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Fix "undefined reference to `anon_inode_getfd'"
@ 2010-04-18 20:25 Russell King
  0 siblings, 0 replies; only message in thread
From: Russell King @ 2010-04-18 20:25 UTC (permalink / raw)
  To: John McCutchan, Robert Love, Eric Paris, Alexander Viro,
	Andrew Morton
  Cc: linux-kernel, linux-fsdevel

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>
---
 fs/notify/inotify/Kconfig |    1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/notify/inotify/Kconfig b/fs/notify/inotify/Kconfig
index 3e56dbf..af2fc8e 100644
--- a/fs/notify/inotify/Kconfig
+++ b/fs/notify/inotify/Kconfig
@@ -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

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-04-18 20:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-18 20:25 Fix "undefined reference to `anon_inode_getfd'" Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).