• Ralf Baechle's avatar
    Inotify: Fix build failure in inotify user support · 12b1b321
    Ralf Baechle authored
    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: default avatarRalf Baechle <ralf@linux-mips.org>
    Cc: Al Viro <viro@zeniv.linux.org.uk>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    12b1b321
Kconfig 1.18 KB