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

This commit moves functionality associated with writing metadump to disk into
a new function. It also renames metadump initialization, write and release
functions to reflect the fact that they work with v1 metadump files.

The metadump initialization, write and release functions are now invoked via
metadump_ops->init(), metadump_ops->write() and metadump_ops->release()
respectively.

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