_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 <djwong@kernel.org>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
_scratch_xfs_populate $@
_scratch_xfs_populate_check
- local logdev=
+ local logdev=none
[ "$USE_EXTERNAL" = yes -a ! -z "$SCRATCH_LOGDEV" ] && \
logdev=$SCRATCH_LOGDEV