• Linus Torvalds's avatar
    Merge tag 'fsnotify_for_v5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs · e375780b
    Linus Torvalds authored
    Pull fsnotify updates from Jan Kara:
     "The biggest part of this is support for fsnotify inode marks that
      don't pin inodes in memory but rather get evicted together with the
      inode (they are useful if userspace needs to exclude receipt of events
      from potentially large subtrees using fanotify ignore marks).
    
      There is also a fix for more consistent handling of events sent to
      parent and a fix of sparse(1) complaints"
    
    * tag 'fsnotify_for_v5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
      fanotify: fix incorrect fmode_t casts
      fsnotify: consistent behavior for parent not watching children
      fsnotify: introduce mark type iterator
      fanotify: enable "evictable" inode marks
      fanotify: use fsnotify group lock helpers
      fanotify: implement "evictable" inode marks
      fanotify: factor out helper fanotify_mark_update_flags()
      fanotify: create helper fanotify_mark_user_flags()
      fsnotify: allow adding an inode mark without pinning inode
      dnotify: use fsnotify group lock helpers
      nfsd: use fsnotify group lock helpers
      audit: use fsnotify group lock helpers
      inotify: use fsnotify group lock helpers
      fsnotify: create helpers for group mark_mutex lock
      fsnotify: make allow_dups a property of the group
      fsnotify: pass flags argument to fsnotify_alloc_group()
      fsnotify: fix wrong lockdep annotations
      inotify: move control flags from mask to mark flags
      inotify: show inotify mask flags in proc fdinfo
    e375780b
fanotify_user.c 47.8 KB