Skip to content

Commit 52366a1

Browse files
committed
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
2 parents 87d93e9 + e9c15ba commit 52366a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fs/file_table.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ struct file *alloc_file_pseudo(struct inode *inode, struct vfsmount *mnt,
230230
d_set_d_op(path.dentry, &anon_ops);
231231
path.mnt = mntget(mnt);
232232
d_instantiate(path.dentry, inode);
233-
file = alloc_file(&path, flags, fops);
233+
file = alloc_file(&path, flags | FMODE_NONOTIFY, fops);
234234
if (IS_ERR(file)) {
235235
ihold(inode);
236236
path_put(&path);

0 commit comments

Comments
 (0)