Re: [PATCH v2 09/11] ext4: iloc.bh cleanup in add_new_gdb()

2018-11-06 Thread Theodore Y. Ts'o
On Wed, Oct 31, 2018 at 12:58:38AM +0300, Vasily Averin wrote: > iloc.bh was taken in ext4_reserve_inode_write() and released > in ext4_mark_iloc_dirty(). It should not be released 2nd time > in rollback after failed ext4_handle_dirty_metadata(gdb_bh) > > Fixes b40971426a83 ("ext4: add error check

[PATCH v2 09/11] ext4: iloc.bh cleanup in add_new_gdb()

2018-10-30 Thread Vasily Averin
iloc.bh was taken in ext4_reserve_inode_write() and released in ext4_mark_iloc_dirty(). It should not be released 2nd time in rollback after failed ext4_handle_dirty_metadata(gdb_bh) Fixes b40971426a83 ("ext4: add error checking to calls to ...") # 2.6.38 Signed-off-by: Vasily Averin --- fs/ext