]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: lost matching-pair of trace in ext4_truncate
authorzhengliang <zhengliang6@huawei.com>
Wed, 1 Jul 2020 08:30:27 +0000 (16:30 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jan 2023 10:42:03 +0000 (11:42 +0100)
commit4a49217e927cf491400935cff8ae0b9dd48aa781
treed877fd9b554bda296d291ff58106a62512c58b9a
parent67c5b4c4407bb473b3ab35fe9f3f408e0a3aa499
ext4: lost matching-pair of trace in ext4_truncate

[ Upstream commit 0d972e815de3ab0f0b29418db5a84b0de58e911e ]

It should call trace exit in all return path for ext4_truncate.

Signed-off-by: zhengliang <zhengliang6@huawei.com>
Reviewed-by: Andreas Dilger <adilger@dilger.ca>
Reviewed-by: Ritesh Harjani <riteshh@linux.ibm.com>
Link: https://lore.kernel.org/r/20200701083027.45996-1-zhengliang6@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Stable-dep-of: 52e2f3d1b1e7 ("ext4: fix use-after-free in ext4_orphan_cleanup")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/ext4/inode.c