From: Ernesto A. Fernández Date: Mon, 24 Jul 2017 04:02:35 +0000 (-0300) Subject: common/rc: support reiserfs in _scratch_mkfs_sized X-Git-Tag: v2022.05.01~1938 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8489391928fdf52e539a648ab8044d6d11ade6bf;p=xfstests-dev.git common/rc: support reiserfs in _scratch_mkfs_sized Signed-off-by: Ernesto A. Fernández Reviewed-by: Eryu Guan Signed-off-by: Eryu Guan --- diff --git a/common/rc b/common/rc index 875b63dc..f09f5ef3 100644 --- a/common/rc +++ b/common/rc @@ -1013,7 +1013,7 @@ _scratch_mkfs_sized() xfs) def_blksz=`echo $MKFS_OPTIONS|sed -rn 's/.*-b ?size= ?+([0-9]+).*/\1/p'` ;; - ext2|ext3|ext4|ext4dev|udf|btrfs|reiser4|ocfs2) + ext2|ext3|ext4|ext4dev|udf|btrfs|reiser4|ocfs2|reiserfs) def_blksz=`echo $MKFS_OPTIONS| sed -rn 's/.*-b ?+([0-9]+).*/\1/p'` ;; jfs) @@ -1067,6 +1067,9 @@ _scratch_mkfs_sized() jfs) ${MKFS_PROG}.$FSTYP $MKFS_OPTIONS $SCRATCH_DEV $blocks ;; + reiserfs) + ${MKFS_PROG}.$FSTYP $MKFS_OPTIONS -b $blocksize $SCRATCH_DEV $blocks + ;; reiser4) # mkfs.resier4 requires size in KB as input for creating filesystem $MKFS_REISER4_PROG $MKFS_OPTIONS -y -b $blocksize $SCRATCH_DEV \