diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2024-11-15 18:30:14 +0300 |
|---|---|---|
| committer | Jan Kara <jack@suse.cz> | 2024-12-09 13:34:29 +0300 |
| commit | ebe559609d7829b52c6642b581860760984faf9d (patch) | |
| tree | 74acbbc2d548b1bade12a1bec55c7f63a0239a7d /include/uapi/asm-generic | |
| parent | b86545e02e8c22fb89218f29d381fa8e8b91d815 (diff) | |
| download | linux-ebe559609d7829b52c6642b581860760984faf9d.tar.xz | |
fs: get rid of __FMODE_NONOTIFY kludge
All it takes to get rid of the __FMODE_NONOTIFY kludge is switching
fanotify from anon_inode_getfd() to anon_inode_getfile_fmode() and adding
a dentry_open_nonotify() helper to be used by fanotify on the other path.
That's it - no more weird shit in OPEN_FMODE(), etc.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/linux-fsdevel/20241113043003.GH3387508@ZenIV/
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/d1231137e7b661a382459e79a764259509a4115d.1731684329.git.josef@toxicpanda.com
Diffstat (limited to 'include/uapi/asm-generic')
| -rw-r--r-- | include/uapi/asm-generic/fcntl.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/uapi/asm-generic/fcntl.h b/include/uapi/asm-generic/fcntl.h index 80f37a0d40d7..613475285643 100644 --- a/include/uapi/asm-generic/fcntl.h +++ b/include/uapi/asm-generic/fcntl.h @@ -6,7 +6,6 @@ /* * FMODE_EXEC is 0x20 - * FMODE_NONOTIFY is 0x4000000 * These cannot be used by userspace O_* until internal and external open * flags are split. * -Eric Paris |
