]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
mdrestore: Add open_device(), read_header() and show_info() functions
authorChandan Babu R <chandan.babu@oracle.com>
Mon, 6 Nov 2023 13:10:49 +0000 (18:40 +0530)
committerCarlos Maiolino <cem@kernel.org>
Tue, 21 Nov 2023 13:09:36 +0000 (14:09 +0100)
commit80240ae3defc9c14ebaf80902e986f08a4f97b7e
treeb90f45d54fc4095d0d32e504d1d5e4ab6755a03b
parent214bf0a21363d5d00a2bdd27aa2a3551c106ccb7
mdrestore: Add open_device(), read_header() and show_info() functions

This commit moves functionality associated with opening the target device,
reading metadump header information and printing information about the
metadump into their respective functions. There are no functional changes made
by this commit.

Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandan.babu@oracle.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
mdrestore/xfs_mdrestore.c