ext4: fix bh ref count on error paths
authorZhaolong Zhang <zhangzl2013@126.com>
Tue, 2 Mar 2021 09:42:31 +0000 (17:42 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 6 Mar 2021 16:56:11 +0000 (11:56 -0500)
commitc915fb80eaa6194fa9bd0a4487705cd5b0dda2f1
treed4583347dce3eb48d844fb1aae44eba3655f81a1
parentf91436d55a279f045987e8b8c1385585dca54be9
ext4: fix bh ref count on error paths

__ext4_journalled_writepage should drop bhs' ref count on error paths

Signed-off-by: Zhaolong Zhang <zhangzl2013@126.com>
Link: https://lore.kernel.org/r/1614678151-70481-1-git-send-email-zhangzl2013@126.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/inode.c