mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
9cafe2a12d
The space occupied by files in the 'origin' directory is calculated with the assumption that 4k is the block size of the underlying filesystem. This causes the test to fail with ENOSPC errors when running on filesystems with larger block sizes. To fix the issue, this commit makes use of the the block size obtained from the mounted filesystem. Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com> Signed-off-by: Dave Chinner <david@fromorbit.com>