[PATCH] xfstests: reiserfs, gfs2, btrfs support

Christoph Hellwig hch at infradead.org
Fri May 29 14:45:00 CDT 2009


On Fri, May 29, 2009 at 02:27:54PM -0500, Eric Sandeen wrote:
> This patch gets reiserfs, gfs2, and btrfs off the ground.
> 
> Signed-off-by: Eric Sandeen <sandeen at sandeen.net>
> ---
> 
> diff --git a/common.rc b/common.rc
> index 54c36f3..c3e77e9 100644
> --- a/common.rc
> +++ b/common.rc
> @@ -53,6 +53,14 @@ _mount_opts()
>  	# acls & xattrs aren't turned on by default on ext$FOO
>  	export MOUNT_OPTIONS="-o acl,user_xattr $EXT_MOUNT_OPTIONS"
>  	;;
> +    reiserfs)
> +	# acls & xattrs aren't turned on by default on reiserfs
> +	export MOUNT_OPTIONS="-o acl,user_xattr $REISERFS_MOUNT_OPTIONS"
> +	;;
> +    gfs2)
> +	# acls aren't turned on by default on gfs2
> +	export MOUNT_OPTIONS="-o acl $GFS2_MOUNT_OPTIONS"
> +	;;

I wonder if we should find some way to auto-probe these options somehow.
It looks like lots of filesystems copied that utter braindamage from ext2 :(


Anyway the patch looks good,

Reviewed-by: Christoph Hellwig <hch at lst.de>




More information about the xfs mailing list