[PATCH] xfstests: fix up mkfs.gfs2 args for test 032

Alex Elder aelder at sgi.com
Fri Jan 15 11:50:40 CST 2010


Eric Sandeen wrote:
> Looks like gfs2 (recently?) needs more arguments for the
> mkfs overwrite test.

Looks good.

> Signed-off-by: Eric Sandeen <sandeen at sandeen.net>
> ---

Reviewed-by: Alex Elder <aelder at sgi.com>

> diff --git a/032 b/032
> index f81196c..5db89ad 100755
> --- a/032
> +++ b/032
> @@ -58,7 +58,7 @@ do
>  	# these folks prompt before writing
>  	[ $fs = jfs ] && preop="echo Y |"
>  	[ $fs = gfs ] && preop="echo y |" && preargs="-p lock_nolock -j 1"
> -	[ $fs = gfs2 ] && preop="echo y |"
> +	[ $fs = gfs2 ] && preop="echo y |" && preargs="-p lock_nolock -j 1"
>  	[ $fs = reiserfs ] && preop="echo y |" && preargs="-f"
>  	# cramfs mkfs requires a directory argument
>  	[ $fs = cramfs ] && preargs=/proc/fs/xfs
> 
> _______________________________________________
> xfs mailing list
> xfs at oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs




More information about the xfs mailing list