]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ext4: fix bh ref count on error paths
authorZhaolong Zhang <zhangzl2013@126.com>
Tue, 2 Mar 2021 09:42:31 +0000 (17:42 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Apr 2021 10:04:20 +0000 (12:04 +0200)
commitef041934aeb69a5276856166d09cef73006b5a94
tree10398fb747a3bbc036c28a9fd75baff0aef8f5e3
parente20bdf90e695f6b10dff23dd5bd4c5e6ddb5b7fa
ext4: fix bh ref count on error paths

[ Upstream commit c915fb80eaa6194fa9bd0a4487705cd5b0dda2f1 ]

__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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/ext4/inode.c