]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfstests: 311: fsck the dmflakey device instead of the real device
authorJosef Bacik <jbacik@fusionio.com>
Thu, 16 May 2013 13:48:03 +0000 (08:48 -0500)
committerRich Johnston <rjohnston@sgi.com>
Thu, 16 May 2013 13:48:03 +0000 (08:48 -0500)
commita8c25f0702254dfd504a6fa9c9db018729ebec53
tree148f27d775f735223d4755976730ab465d96a2fe
parent1bd086437fac4007610ab0d42f75ae6701f6da1a
xfstests: 311: fsck the dmflakey device instead of the real device

xfs was having issues with generic/311 because of caching issues. Make
_check_scratch_fs take an optional argument to use as the device to fsck.

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Acked-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Rich Johnston <rjohnston@sgi.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
common/rc
tests/generic/311 [changed mode: 0755->0644]