ext4: factor out ext4_fc_get_tl()
authorEric Biggers <ebiggers@kernel.org>
Thu, 5 Jan 2023 07:13:53 +0000 (23:13 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Jan 2023 10:59:04 +0000 (11:59 +0100)
commit818175ae3bd2ca1af5a3950b4c062898e2e92a1f
tree2606e0eb2392c6abca17b44eeb25aa6d1c06fcd0
parentffd84d0bc5dcc8f13739ba678bcbd7ac25e14a0c
ext4: factor out ext4_fc_get_tl()

From: Ye Bin <yebin10@huawei.com>

commit dcc5827484d6e53ccda12334f8bbfafcc593ceda upstream.

Factor out ext4_fc_get_tl() to fill 'tl' with host byte order.

Signed-off-by: Ye Bin <yebin10@huawei.com>
Link: https://lore.kernel.org/r/20220924075233.2315259-3-yebin10@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/fast_commit.c