Commit eed57abe authored by zhengliang's avatar zhengliang Committed by Yongqiang Liu
Browse files

ext4: lost matching-pair of trace in ext4_truncate

stable inclusion
from stable-v4.19.270
commit 87cf27e5c9a25c0c5037fdf6dcaa8d4334e4c0d0
category: bugfix
bugzilla: 187904,https://gitee.com/openeuler/kernel/issues/I6BJAR
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=87cf27e5c9a25c0c5037fdf6dcaa8d4334e4c0d0



--------------------------------

[ Upstream commit 9a5d265f ]

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

Signed-off-by: default avatarzhengliang <zhengliang6@huawei.com>
Reviewed-by: default avatarAndreas Dilger <adilger@dilger.ca>
Reviewed-by: default avatarRitesh Harjani <riteshh@linux.ibm.com>
Link: https://lore.kernel.org/r/20200701083027.45996-1-zhengliang6@huawei.com


Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
Stable-dep-of: a71248b1 ("ext4: fix use-after-free in ext4_orphan_cleanup")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarBaokun Li <libaokun1@huawei.com>
Reviewed-by: default avatarZhang Yi <yi.zhang@huawei.com>
Signed-off-by: default avatarYongqiang Liu <liuyongqiang13@huawei.com>
parent 34d18a87
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment