mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-28 05:24:47 +08:00
12b1b32168
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>
33 lines
1.2 KiB
Plaintext
33 lines
1.2 KiB
Plaintext
config INOTIFY
|
|
bool "Inotify file change notification support"
|
|
default n
|
|
---help---
|
|
Say Y here to enable legacy in kernel inotify support. Inotify is a
|
|
file change notification system. It is a replacement for dnotify.
|
|
This option only provides the legacy inotify in kernel API. There
|
|
are no in tree kernel users of this interface since it is deprecated.
|
|
You only need this if you are loading an out of tree kernel module
|
|
that uses inotify.
|
|
|
|
For more information, see <file:Documentation/filesystems/inotify.txt>
|
|
|
|
If unsure, say N.
|
|
|
|
config INOTIFY_USER
|
|
bool "Inotify support for userspace"
|
|
select ANON_INODES
|
|
select FSNOTIFY
|
|
default y
|
|
---help---
|
|
Say Y here to enable inotify support for userspace, including the
|
|
associated system calls. Inotify allows monitoring of both files and
|
|
directories via a single open fd. Events are read from the file
|
|
descriptor, which is also select()- and poll()-able.
|
|
Inotify fixes numerous shortcomings in dnotify and introduces several
|
|
new features including multiple file events, one-shot support, and
|
|
unmount notification.
|
|
|
|
For more information, see <file:Documentation/filesystems/inotify.txt>
|
|
|
|
If unsure, say Y.
|