]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_repair: adjust rtbitmap/rtsummary word updates to handle big endian values
authorDarrick J. Wong <djwong@kernel.org>
Thu, 21 Nov 2024 00:24:34 +0000 (16:24 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:33 +0000 (18:01 -0800)
commit840194be7872d9176c7f92932bd5f8f2918e3ecb
tree6d0fe38e259cdbd7af03d8c1e53f20d67c5b99f7
parent61f5d4a4a5c8aee975f1c2c5dd69a26f9e0a0c9f
xfs_repair: adjust rtbitmap/rtsummary word updates to handle big endian values

With rtgroups, the rt bitmap and summary file words are defined to be
be32 values.  Adjust repair to handle the endianness correctly.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
repair/rt.c