Re: [PATCH 12/16] xfstests: remove dependency on /proc/partitions for generic/312

Christoph Hellwig
2016-02-17T10:06:04Z

> +# We don't need to do this check for tmpfs because _scratch_mkfs_size
> +# will validate the size against the available memory
> +if [ "$FSTYP" != "tmpfs" ]; then
> + _scratch_mkfs
> + _scratch_mount
> + _require_fs_space $SCRATCH_MNT $(($fssize / 1024))
> + _scratch_unmount
> +fi
> rm -f $seqres.full
> _scratch_mkfs_sized $fssize >>$seqres.full 2>&1

_scratch_mkfs_size also validates the available space for other
block based file systems, so I think we should just remove this
code entirely (assuming I didn't miss something important)