• Linus Torvalds's avatar
    Merge tag 'for-5.16-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · 6f513529
    Linus Torvalds authored
    Pull btrfs fixes from David Sterba:
     "A few more regression fixes and stable patches, mostly one-liners.
    
      Regression fixes:
    
       - fix pointer/ERR_PTR mismatch returned from memdup_user
    
       - reset dedicated zoned mode relocation block group to avoid using it
         and filling it without any recourse
    
      Fixes:
    
       - handle a case to FITRIM range (also to make fstests/generic/260
         work)
    
       - fix warning when extent buffer state and pages get out of sync
         after an IO error
    
       - fix transaction abort when syncing due to missing mapping error set
         on metadata inode after inlining a compressed file
    
       - fix transaction abort due to tree-log and zoned mode interacting in
         an unexpected way
    
       - fix memory leak of additional extent data when qgroup reservation
         fails
    
       - do proper handling of slot search call when deleting root refs"
    
    * tag 'for-5.16-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
      btrfs: replace the BUG_ON in btrfs_del_root_ref with proper error handling
      btrfs: zoned: clear data relocation bg on zone finish
      btrfs: free exchange changeset on failures
      btrfs: fix re-dirty process of tree-log nodes
      btrfs: call mapping_set_error() on btree inode with a write error
      btrfs: clear extent buffer uptodate when we fail to write it
      btrfs: fail if fstrim_range->start == U64_MAX
      btrfs: fix error pointer dereference in btrfs_ioctl_rm_dev_v2()
    6f513529
ioctl.c 124 KB