]> git.itanic.dy.fi Git - linux-stable/commit
ext4: introduce EXT4_FC_TAG_BASE_LEN helper
authorYe Bin <yebin10@huawei.com>
Sat, 24 Sep 2022 07:52:31 +0000 (15:52 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 29 Oct 2022 08:08:35 +0000 (10:08 +0200)
commit85ddefaa901bb74e2d90635f3a0b8d7e1b9ce5f6
treea22f4b774c87f69b8fb2d941879c5adf824b857e
parent5a7d9406321093b75393ae6524a9f929f5544c07
ext4: introduce EXT4_FC_TAG_BASE_LEN helper

[ Upstream commit fdc2a3c75dd8345c5b48718af90bad1a7811bedb ]

Introduce EXT4_FC_TAG_BASE_LEN helper for calculate length of
struct ext4_fc_tl.

Signed-off-by: Ye Bin <yebin10@huawei.com>
Link: https://lore.kernel.org/r/20220924075233.2315259-2-yebin10@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Stable-dep-of: 1b45cc5c7b92 ("ext4: fix potential out of bound read in ext4_fc_replay_scan()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/ext4/fast_commit.c
fs/ext4/fast_commit.h