This basically does the same as in commit
90a3bfc xfs: be compatible with older mkfs.xfs which has no v5 support
which left xfs/078 behind.
Signed-off-by: Eryu Guan <eguan@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
echo
echo "*** mkfs loop file (size=$original)"
- $MKFS_XFS_PROG -m crc=0 -b size=$bsize -d $dparam \
+ mkfs_crc_opts="-m crc=0"
+ if [ -n "$XFS_MKFS_HAS_NO_META_SUPPORT" ]; then
+ mkfs_crc_opts=""
+ fi
+ $MKFS_XFS_PROG $mkfs_crc_opts -b size=$bsize -d $dparam \
| _filter_mkfs 2>/dev/null
echo "*** extend loop file"