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

This commit collects all state tracking variables in a new "struct metadump"
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 metadump_ops *" will be added by a future commit to support the two
versions of metadump.

Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
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>
db/metadump.c