]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_mdrestore: support internal RT devices
authorChristoph Hellwig <hch@lst.de>
Mon, 14 Apr 2025 05:36:25 +0000 (07:36 +0200)
committerAndrey Albershteyn <aalbersh@kernel.org>
Tue, 29 Apr 2025 16:11:09 +0000 (18:11 +0200)
commite21b93e8fa67dedc0cfa25b1409810101b20d76c
treedf5cc5d7601b88db40622ae511e934ef3b7e3f88
parent37591ef3f4f14c4c2dfa3c2ce321aeb21732dda2
xfs_mdrestore: support internal RT devices

Calculate the size properly for internal RT devices and skip restoring
to the external one for this case.

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