• Linus Torvalds's avatar
    Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 · c140f8b0
    Linus Torvalds authored
    Pull ext4 fixes from Ted Ts'o:
     "A large number of ext4 bug fixes, mostly buffer and memory leaks on
      error return cleanup paths"
    
    * tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4:
      ext4: missing !bh check in ext4_xattr_inode_write()
      ext4: fix buffer leak in __ext4_read_dirblock() on error path
      ext4: fix buffer leak in ext4_expand_extra_isize_ea() on error path
      ext4: fix buffer leak in ext4_xattr_move_to_block() on error path
      ext4: release bs.bh before re-using in ext4_xattr_block_find()
      ext4: fix buffer leak in ext4_xattr_get_block() on error path
      ext4: fix possible leak of s_journal_flag_rwsem in error path
      ext4: fix possible leak of sbi->s_group_desc_leak in error path
      ext4: remove unneeded brelse call in ext4_xattr_inode_update_ref()
      ext4: avoid possible double brelse() in add_new_gdb() on error path
      ext4: avoid buffer leak in ext4_orphan_add() after prior errors
      ext4: avoid buffer leak on shutdown in ext4_mark_iloc_dirty()
      ext4: fix possible inode leak in the retry loop of ext4_resize_fs()
      ext4: fix missing cleanup if ext4_alloc_flex_bg_array() fails while resizing
      ext4: add missing brelse() update_backups()'s error path
      ext4: add missing brelse() add_new_gdb_meta_bg()'s error path
      ext4: add missing brelse() in set_flexbg_block_bitmap()'s error path
      ext4: avoid potential extra brelse in setup_new_flex_group_blocks()
    c140f8b0
inode.c 180 KB