]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
fanotify: select ANON_INODES.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 18 Dec 2009 02:24:26 +0000 (21:24 -0500)
committerEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 13:58:56 +0000 (09:58 -0400)
commitef601a9cfd21fe9ce57e0ee3f4a31552ffb96366
tree6b268bba6e0bb4ef09f634519a13233c10cb2a5a
parenta1014f102322398e67524b68b3300acf384e6c1f
fanotify: select ANON_INODES.

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>
Signed-off-by: Eric Paris <eparis@redhat.com>
fs/notify/fanotify/Kconfig