]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.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)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 8 Apr 2021 20:42:43 +0000 (15:42 -0500)
commit812ab62435cc1bce504ab0989943cbd282dfa053
tree0541dba5f5c50368bd90f66bc1cd4ccb0e79fa4c
parentcdfad18c62564e06f4999dc2eaf42597c9c66ba9
ext4: fix bh ref count on error paths

BugLink: https://bugs.launchpad.net/bugs/1923069
[ 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>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
fs/ext4/inode.c