]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: fix the type for sb_rtreserved xfs-zoned-2024-12-09
authorChristoph Hellwig <hch@lst.de>
Mon, 2 Dec 2024 02:29:57 +0000 (11:29 +0900)
committerChristoph Hellwig <hch@lst.de>
Mon, 2 Dec 2024 02:30:56 +0000 (11:30 +0900)
commit202de106e19873380b3c24d6adcd5217d9bb1a46
treef5bb2024756f934c0cce6afb5db5c97e8e49128d
parent7e6fc4f87b5d007c1f7d4ab8f8dea3a067d9761c
xfs: fix the type for sb_rtreserved

xfs_extlen_t is a 32-bit type, not matching the 64-bit on-disk
value.  Use the most fitting 64-bit type.

Noticed by the size checking macros on x86 which doesn't naturally
align 64-bit fields.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_format.h