lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 6 Mar 2016 14:09:35 -0800
From:	"Darrick J. Wong" <darrick.wong@...cle.com>
To:	Christoph Hellwig <hch@...radead.org>
Cc:	david@...morbit.com, linux-ext4@...r.kernel.org,
	fstests@...r.kernel.org, linux-btrfs@...r.kernel.org,
	xfs@....sgi.com
Subject: Re: [PATCH 13/12] xfs/209: filter scratch dir properly

Good catch,
Reviewed-by: Darrick J. Wong <darrick.wong@...cle.com>

--D

On Sat, Mar 05, 2016 at 12:25:02PM -0800, Christoph Hellwig wrote:
> Signed-off-by: Christoph Hellwig <hch@....de>
> 
> diff --git a/tests/xfs/209 b/tests/xfs/209
> index cecd9c7..9bf1f12 100755
> --- a/tests/xfs/209
> +++ b/tests/xfs/209
> @@ -73,7 +73,7 @@ echo "Check cowextsize settings"
>  seq 1 2 | while read nr; do
>  	seq 1 4 | while read nnr; do
>  		file="$testdir/dir-$nr/file-$nnr"
> -		$XFS_IO_PROG -c "cowextsize" $file
> +		$XFS_IO_PROG -c "cowextsize" $file | _filter_scratch
>  	done
>  done
>  
> diff --git a/tests/xfs/209.out b/tests/xfs/209.out
> index 109af34..b97fa96 100644
> --- a/tests/xfs/209.out
> +++ b/tests/xfs/209.out
> @@ -3,11 +3,11 @@ Format and mount
>  Set extsz and cowextsz on directory
>  Create a fake tree structure
>  Check cowextsize settings
> -[1048576] /opt/test-209/dir-1/file-1
> -[1048576] /opt/test-209/dir-1/file-2
> -[1048576] /opt/test-209/dir-1/file-3
> -[1048576] /opt/test-209/dir-1/file-4
> -[1048576] /opt/test-209/dir-2/file-1
> -[1048576] /opt/test-209/dir-2/file-2
> -[1048576] /opt/test-209/dir-2/file-3
> -[1048576] /opt/test-209/dir-2/file-4
> +[1048576] SCRATCH_MNT/test-209/dir-1/file-1
> +[1048576] SCRATCH_MNT/test-209/dir-1/file-2
> +[1048576] SCRATCH_MNT/test-209/dir-1/file-3
> +[1048576] SCRATCH_MNT/test-209/dir-1/file-4
> +[1048576] SCRATCH_MNT/test-209/dir-2/file-1
> +[1048576] SCRATCH_MNT/test-209/dir-2/file-2
> +[1048576] SCRATCH_MNT/test-209/dir-2/file-3
> +[1048576] SCRATCH_MNT/test-209/dir-2/file-4
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ