]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_mdrestore: fix restore of internal realtime device configs xfs-zoned-2024-12-09
authorChristoph Hellwig <hch@lst.de>
Sat, 7 Dec 2024 13:38:48 +0000 (22:38 +0900)
committerChristoph Hellwig <hch@lst.de>
Mon, 9 Dec 2024 14:24:33 +0000 (15:24 +0100)
commitef19911e6fbd1991969efb437345ad69597f32e1
tree30f47b04f89bda546c96ac74e0ff7c88f02b552f
parent6eff8682a07382f4c0776ed1b2de62c1ed32bb6f
xfs_mdrestore: fix restore of internal realtime device configs

We still need the calculation based on the internal rtdev size that got
dropped when moving to the fsblock-unit rtstart, and we now also need
it for the v1 format now that zoned file systems don't force the v2
format due to the lack of a rtsb.

Signed-off-by: Christoph Hellwig <hch@lst.de>
mdrestore/xfs_mdrestore.c