• Linus Torvalds's avatar
    Merge tag 'for-6.10-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · 07978330
    Linus Torvalds authored
    Pull btrfs fixes from David Sterba:
    
     - fix handling of folio private changes.
    
       The private value holds pointer to our extent buffer structure
       representing a metadata range. Release and create of the range was
       not properly synchronized when updating the private bit which ended
       up in double folio_put, leading to all sorts of breakage
    
     - fix a crash, reported as duplicate key in metadata, but caused by a
       race of fsync and size extending write. Requires prealloc target
       range + fsync and other conditions (log tree state, timing)
    
     - fix leak of qgroup extent records after transaction abort
    
    * tag 'for-6.10-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
      btrfs: protect folio::private when attaching extent buffer folios
      btrfs: fix leak of qgroup extent records after transaction abort
      btrfs: fix crash on racing fsync and size-extending write into prealloc
    07978330
disk-io.c 139 KB