]> 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)
commit2dbeeeac45071e3ba90641bd9e11100e82295eb8
treed877fd9b554bda296d291ff58106a62512c58b9a
parentae0e575d46da8aae5c18f4c790ff5b364e22dd5c
ext4: lost matching-pair of trace in ext4_truncate

[ Upstream commit 47bcdf5a1b20160d6b737bcebe4d00d22b96819a ]

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: a71248b1accb ("ext4: fix use-after-free in ext4_orphan_cleanup")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/ext4/inode.c