• Linus Torvalds's avatar
    Merge tag 'xfs-5.17-merge-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · 11fc88c2
    Linus Torvalds authored
    Pull xfs updates from Darrick Wong:
     "The big new feature here is that the mount code now only bothers to
      try to free stale COW staging extents if the fs unmounted uncleanly.
      This should reduce mount times, particularly on filesystems supporting
      reflink and containing a large number of allocation groups.
    
      Everything else this cycle are bugfixes, as the iomap folios
      conversion should be plenty enough excitement for anyone. That and I
      ran out of brain bandwidth after Thanksgiving last year.
    
      Summary:
    
       - Fix log recovery with da btree buffers when metauuid is in use.
    
       - Fix type coercion problems in xattr buffer size validation.
    
       - Fix a bug in online scrub dir leaf bestcount checking.
    
       - Only run COW recovery when recovering the log.
    
       - Fix symlink target buffer UAF problems and symlink locking problems
         by not exposing xfs innards to the VFS.
    
       - Fix incorrect quotaoff lock usage.
    
       - Don't let transactions cancel cleanly if they have deferred work
         items attached.
    
       - Fix a UAF when we're deciding if we need to relog an intent item.
    
       - Reduce kvmalloc overhead for log shadow buffers.
    
       - Clean up sysfs attr group usage.
    
       - Fix a bug where scrub's bmap/rmap checking could race with a quota
         file block allocation due to insufficient locking.
    
       - Teach scrub to complain about invalid project ids"
    
    * tag 'xfs-5.17-merge-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
      xfs: warn about inodes with project id of -1
      xfs: hold quota inode ILOCK_EXCL until the end of dqalloc
      xfs: Remove redundant assignment of mp
      xfs: reduce kvmalloc overhead for CIL shadow buffers
      xfs: sysfs: use default_groups in kobj_type
      xfs: prevent UAF in xfs_log_item_in_current_chkpt
      xfs: prevent a WARN_ONCE() in xfs_ioc_attr_list()
      xfs: Fix comments mentioning xfs_ialloc
      xfs: check sb_meta_uuid for dabuf buffer recovery
      xfs: fix a bug in the online fsck directory leaf1 bestcount check
      xfs: only run COW extent recovery when there are no live extents
      xfs: don't expose internal symlink metadata buffers to the vfs
      xfs: fix quotaoff mutex usage now that we don't support disabling it
      xfs: shut down filesystem if we xfs_trans_cancel with deferred work items
    11fc88c2
xfs_symlink.c 12.2 KB