mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
generic/{094,225}: fix argument to _require_file_block_size_equals_fs_block_size
Fix the incorrect parameter being passed to this new predicate. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
committed by
Eryu Guan
parent
46d917f2e8
commit
e48c1f054f
@@ -4231,7 +4231,8 @@ _get_block_size()
|
||||
}
|
||||
|
||||
# Require that the fundamental allocation unit of a file is the same as the
|
||||
# filesystem block size.
|
||||
# filesystem block size. The sole parameter must be the root dir of a
|
||||
# filesystem.
|
||||
_require_file_block_size_equals_fs_block_size()
|
||||
{
|
||||
local file_alloc_unit="$(_get_file_block_size $1)"
|
||||
|
||||
+1
-1
@@ -43,7 +43,7 @@ _require_test_program "fiemap-tester"
|
||||
# FIEMAP test doesn't like finding unwritten blocks after it punches out
|
||||
# a partial rt extent.
|
||||
test "$FSTYP" = "xfs" && \
|
||||
_require_file_block_size_equals_fs_block_size $fiemapfile
|
||||
_require_file_block_size_equals_fs_block_size $SCRATCH_MNT
|
||||
|
||||
seed=`date +%s`
|
||||
|
||||
|
||||
+1
-1
@@ -43,7 +43,7 @@ _require_test_program "fiemap-tester"
|
||||
# FIEMAP test doesn't like finding unwritten blocks after it punches out
|
||||
# a partial rt extent.
|
||||
test "$FSTYP" = "xfs" && \
|
||||
_require_file_block_size_equals_fs_block_size $fiemapfile
|
||||
_require_file_block_size_equals_fs_block_size $SCRATCH_MNT
|
||||
|
||||
seed=`date +%s`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user