]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_repair: refactor offsetof+sizeof to offsetofend
authorDarrick J. Wong <djwong@kernel.org>
Mon, 22 Jul 2024 23:08:14 +0000 (16:08 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 31 Jul 2024 01:46:51 +0000 (18:46 -0700)
commitcaea600d12b2f29dfdca1ce0e5230cadf336738f
tree16f210ea0a013f37c44f9e1e5354f62af003ffa1
parent41e39ed034d16231f7d2202bf979752fbefa3c3c
xfs_repair: refactor offsetof+sizeof to offsetofend

Replace this open-coded logic with the kernel's offsetofend macro before
we start adding more in the next patch.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
include/xfs.h
repair/agheader.c