summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/xfs6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/xfs b/common/xfs
index 91b8ac38..49c5df15 100644
--- a/common/xfs
+++ b/common/xfs
@@ -708,6 +708,12 @@ _xfs_mdrestore() {
$XFS_MDRESTORE_PROG $options "${metadump}" "${device}"
}
+_scratch_metadump_v2_supported()
+{
+ $XFS_DB_PROG -c "help metadump" $SCRATCH_DEV | \
+ grep -q "Metadump version to be used"
+}
+
# Snapshot the metadata on the scratch device
_scratch_xfs_metadump()
{