]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
mdrestore: Define and use struct mdrestore
authorChandan Babu R <chandan.babu@oracle.com>
Mon, 6 Nov 2023 13:10:47 +0000 (18:40 +0530)
committerCarlos Maiolino <cem@kernel.org>
Tue, 21 Nov 2023 13:09:36 +0000 (14:09 +0100)
commit1fb3dccce21331633069f8b87b740e46f6fb91c7
tree64724366d5fe7eed39e5d90985ed39b2662f2acb
parent50f2031ac6f80f5a554b361cffa29486f98924ae
mdrestore: Define and use struct mdrestore

This commit collects all state tracking variables in a new "struct mdrestore"
structure. This is done to collect all the global variables in one place
rather than having them spread across the file. A new structure member of type
"struct mdrestore_ops *" will be added by a future commit to support the two
versions of metadump.

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