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

Configure Feed

Select the types of activity you want to include in your feed.

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

Pull fsnotify fix from Jan Kara:
"A small fsnotify fix from Amir"

* tag 'for_v4.19-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
fsnotify: fix ignore mask logic in fsnotify()

+3 -10
+3 -10
fs/notify/fsnotify.c
··· 351 351 352 352 iter_info.srcu_idx = srcu_read_lock(&fsnotify_mark_srcu); 353 353 354 - if ((mask & FS_MODIFY) || 355 - (test_mask & to_tell->i_fsnotify_mask)) { 356 - iter_info.marks[FSNOTIFY_OBJ_TYPE_INODE] = 357 - fsnotify_first_mark(&to_tell->i_fsnotify_marks); 358 - } 359 - 360 - if (mnt && ((mask & FS_MODIFY) || 361 - (test_mask & mnt->mnt_fsnotify_mask))) { 362 - iter_info.marks[FSNOTIFY_OBJ_TYPE_INODE] = 363 - fsnotify_first_mark(&to_tell->i_fsnotify_marks); 354 + iter_info.marks[FSNOTIFY_OBJ_TYPE_INODE] = 355 + fsnotify_first_mark(&to_tell->i_fsnotify_marks); 356 + if (mnt) { 364 357 iter_info.marks[FSNOTIFY_OBJ_TYPE_VFSMOUNT] = 365 358 fsnotify_first_mark(&mnt->mnt_fsnotify_marks); 366 359 }