]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfstests: _test_generic_punch: Obtain block size from $TEST_DIR
authorchandan <chandan@linux.vnet.ibm.com>
Wed, 28 Aug 2013 06:24:10 +0000 (06:24 +0000)
committerRich Johnston <rjohnston@sgi.com>
Thu, 29 Aug 2013 14:14:34 +0000 (09:14 -0500)
commitf6406daca8a91216019e62c8924c171e8a414d05
tree3c5e9d0eedc9ec73344bdcad985c505e2a54713b
parent8a51dad60a015e0b261e0f78428731b00b992ce9
xfstests: _test_generic_punch: Obtain block size from $TEST_DIR

The current code incorrectly gets block size information from $TEST_DEV
instead of from $TEST_DIR. This returns the block size of the filesystem
hosting the device file rather than that of the filesystem on $TEST_DEV.

Signed-off-by: chandan <chandan@linux.vnet.ibm.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
common/punch