]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
common: Introduce get_block_size() helper
authorLukas Czerner <lczerner@redhat.com>
Tue, 14 Oct 2014 06:07:52 +0000 (17:07 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 14 Oct 2014 06:07:52 +0000 (17:07 +1100)
commita2a1fc679e6833901107785260757beabf8004c0
treee475224acd00b2db16e72e490aec63ba50fd81e0
parent48c45430ce4b44aab123f641a8f8daf46749a26e
common: Introduce get_block_size() helper

Currently many tests and other functions uses it's own way to get block
size of the file system. Introduce get_block_size(), a generic way to
get block size of mounted file system and use that instead.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/attr
common/punch
common/rc
tests/generic/240
tests/generic/256
tests/generic/308
tests/shared/298