Inotify: Fix build failure in inotify user support
authorRalf Baechle <ralf@linux-mips.org>
Mon, 8 Mar 2010 19:51:03 +0000 (20:51 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 30 Apr 2010 17:14:56 +0000 (10:14 -0700)
commit12b1b321689cf92236fb216472744e39419fab30
tree16505df17a901583b3c1ab28b5cb7e9b573d8809
parent8f2adb7cab81fc4984ddfe3a1efd1b62d52bead8
Inotify: Fix build failure in inotify user support

CONFIG_INOTIFY_USER defined but CONFIG_ANON_INODES undefined will result
in the following build failure:

    LD      vmlinux
  fs/built-in.o: In function 'sys_inotify_init1':
  (.text.sys_inotify_init1+0x22c): undefined reference to 'anon_inode_getfd'
  fs/built-in.o: In function `sys_inotify_init1':
  (.text.sys_inotify_init1+0x22c): relocation truncated to fit: R_MIPS_26 against 'anon_inode_getfd'
  make[2]: *** [vmlinux] Error 1
  make[1]: *** [sub-make] Error 2
  make: *** [all] Error 2

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/notify/inotify/Kconfig