]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: use ext4_fc_tl_mem in fast-commit replay path
authorEric Biggers <ebiggers@google.com>
Sat, 17 Dec 2022 05:02:12 +0000 (21:02 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 Mar 2023 12:55:22 +0000 (13:55 +0100)
commitcdccf8ff1dbf6fc0b0497ed4f3ad535881862f05
tree1efbdc4e0f6dee880f40c248a3c5ac44a4a03fd9
parent5b4820521ecc7baaedbb02df16d18da10c433fcd
ext4: use ext4_fc_tl_mem in fast-commit replay path

[ Upstream commit 643137ddefe478409b2b20d9968b7aea8be0f0be ]

To avoid 'sparse' warnings about missing endianness conversions, don't
store native endianness values into struct ext4_fc_tl.  Instead, use a
separate struct type, ext4_fc_tl_mem.

Fixes: c9df516c7f6b ("ext4: factor out ext4_fc_get_tl()")
Cc: Ye Bin <yebin10@huawei.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20221217050212.150665-1-ebiggers@kernel.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/ext4/fast_commit.c