* [PATCH -next] fanotify: select ANON_INODES.
@ 2009-11-24 6:02 Paul Mundt
2009-11-24 13:25 ` Eric Paris
0 siblings, 1 reply; 2+ messages in thread
From: Paul Mundt @ 2009-11-24 6:02 UTC (permalink / raw)
To: Eric Paris; +Cc: linux-next
fanotify references anon_inode_getfd(), which is only available with
ANON_INODES enabled. 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 1
which is trivially corrected by adding an ANON_INODES select.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
---
fs/notify/fanotify/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/notify/fanotify/Kconfig b/fs/notify/fanotify/Kconfig
index f9d7ae0..668e5df 100644
--- a/fs/notify/fanotify/Kconfig
+++ b/fs/notify/fanotify/Kconfig
@@ -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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] fanotify: select ANON_INODES.
2009-11-24 6:02 [PATCH -next] fanotify: select ANON_INODES Paul Mundt
@ 2009-11-24 13:25 ` Eric Paris
0 siblings, 0 replies; 2+ messages in thread
From: Eric Paris @ 2009-11-24 13:25 UTC (permalink / raw)
To: Paul Mundt; +Cc: linux-next
On Tue, 2009-11-24 at 15:02 +0900, Paul Mundt wrote:
> fanotify references anon_inode_getfd(), which is only available with
> ANON_INODES enabled. 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 1
>
> which is trivially corrected by adding an ANON_INODES select.
>
> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Thanks, applied!
> ---
>
> fs/notify/fanotify/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/fs/notify/fanotify/Kconfig b/fs/notify/fanotify/Kconfig
> index f9d7ae0..668e5df 100644
> --- a/fs/notify/fanotify/Kconfig
> +++ b/fs/notify/fanotify/Kconfig
> @@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-24 13:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-24 6:02 [PATCH -next] fanotify: select ANON_INODES Paul Mundt
2009-11-24 13:25 ` Eric Paris
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).