• Linus Torvalds's avatar
    Merge tag 'for-5.0-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · 312b3a93
    Linus Torvalds authored
    Pull btrfs fixes from David Sterba:
    
     - regression fix: transaction commit can run away due to delayed ref
       waiting heuristic, this is not necessary now because of the proper
       reservation mechanism introduced in 5.0
    
     - regression fix: potential crash due to use-before-check of an ERR_PTR
       return value
    
     - fix for transaction abort during transaction commit that needs to
       properly clean up pending block groups
    
     - fix deadlock during b-tree node/leaf splitting, when this happens on
       some of the fundamental trees, we must prevent new tree block
       allocation to re-enter indirectly via the block group flushing path
    
     - potential memory leak after errors during mount
    
    * tag 'for-5.0-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
      btrfs: On error always free subvol_name in btrfs_mount
      btrfs: clean up pending block groups when transaction commit aborts
      btrfs: fix potential oops in device_list_add
      btrfs: don't end the transaction for delayed refs in throttle
      Btrfs: fix deadlock when allocating tree block during leaf/node split
    312b3a93
super.c 64.2 KB