Allow the extra free space to leave in large scratch filesystems to
be specified by a command line option rather than just via an
environment variable.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Rich Johnston <rjohnston@sgi.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
            usage
            ;;
 
+       --extra-space=*)
+           export SCRATCH_DEV_EMPTY_SPACE=${r#*=}
+           xpand=false
+           ;;
+
        *)
            start=$r
            end=$r