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)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 9 Feb 2023 15:43:23 +0000 (10:43 -0500)
commit11768cfd98136dd8399480c60b7a5d3d3c7b109b
treef2225c062607b43ce3f08d699b66590db2533fb0
parent3478c83cf26bbffd026ae6a56bcb1fe544f0834e
ext4: use ext4_fc_tl_mem in fast-commit replay path

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: dcc5827484d6 ("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>
fs/ext4/fast_commit.c