[PATCH] Fix build failure, INOTIFY_USER requires ANON_INODES

From: Jason Gunthorpe
Date: Mon Mar 22 2010 - 14:34:00 EST


Or linking can fail needing anon_inode_getfd called from
sys_inotify_init1.

Signed-off-by: Jason Gunthorpe <jgunthorpe@xxxxxxxxxxxxxxxxxxxx>
---
fs/notify/inotify/Kconfig | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

Tested on powerpc with CONFIG_EMBEDDED/etc

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
--
1.5.4.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/