]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
metadump: Introduce struct metadump_ops
authorChandan Babu R <chandan.babu@oracle.com>
Mon, 6 Nov 2023 13:10:40 +0000 (18:40 +0530)
committerCarlos Maiolino <cem@kernel.org>
Tue, 21 Nov 2023 13:09:36 +0000 (14:09 +0100)
commitbe75f7d73be22eb89d48eceeff191049f7e16f4e
tree8b3da4e3e39912a1eaa3085c07ad7775e78ad5b1
parent1e4702774a2d1e78d81cb63b5f4338625ea7cea2
metadump: Introduce struct metadump_ops

We will need two sets of functions to implement two versions of metadump. This
commit adds the definition for 'struct metadump_ops' to hold pointers to
version specific metadump functions.

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