From 3b5cb74c03312b5ac3349a0759c8d32bb9d0dada Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Wed, 5 Oct 2022 15:31:06 -0700 Subject: [PATCH] common/populate: fix _xfs_metadump usage in _scratch_populate_cached _xfs_metadump requires that the caller pass in "none" for the log device if it doesn't have a log device, so fix this call site. Signed-off-by: Darrick J. Wong Reviewed-by: Zorro Lang Signed-off-by: Zorro Lang --- common/populate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/populate b/common/populate index 4eee7e8c..cfdaf766 100644 --- a/common/populate +++ b/common/populate @@ -891,7 +891,7 @@ _scratch_populate_cached() { _scratch_xfs_populate $@ _scratch_xfs_populate_check - local logdev= + local logdev=none [ "$USE_EXTERNAL" = yes -a ! -z "$SCRATCH_LOGDEV" ] && \ logdev=$SCRATCH_LOGDEV -- 2.39.5