Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'fsnotify_for_v5.8-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs

Pull fsnotify fixlet from Jan Kara:
"A performance improvement to reduce impact of fsnotify for inodes
where it isn't used"

* tag 'fsnotify_for_v5.8-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
fs: Do not check if there is a fsnotify watcher on pseudo inodes

+1 -1
+1 -1
fs/file_table.c
··· 230 230 d_set_d_op(path.dentry, &anon_ops); 231 231 path.mnt = mntget(mnt); 232 232 d_instantiate(path.dentry, inode); 233 - file = alloc_file(&path, flags, fops); 233 + file = alloc_file(&path, flags | FMODE_NONOTIFY, fops); 234 234 if (IS_ERR(file)) { 235 235 ihold(inode); 236 236 path_put(&path);