xfs: refactor all the EFI/EFD log item sizeof logic
authorDarrick J. Wong <djwong@kernel.org>
Fri, 21 Oct 2022 16:10:05 +0000 (09:10 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 31 Oct 2022 15:58:20 +0000 (08:58 -0700)
commit3c5aaaced99912c9fb3352fc5af5b104df67d4aa
treebd152f47835b2c0b4c502ce4079395ae6f360326
parent03a7485cd701e1c08baadcf39d9592d83715e224
xfs: refactor all the EFI/EFD log item sizeof logic

Refactor all the open-coded sizeof logic for EFI/EFD log item and log
format structures into common helper functions whose names reflect the
struct names.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/libxfs/xfs_log_format.h
fs/xfs/xfs_extfree_item.c
fs/xfs/xfs_extfree_item.h
fs/xfs/xfs_super.c