mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfstests: Do not allow step to be zero
Currently 'step' variable which is used as length of the range to discard can be zero. However it would result in error returned by the fstrim. Fix this by forcing 'step' to be at least 4KB. Signed-off-by: Lukas Czerner <lczerner@redhat.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Rich Johnston <rjohnston@sgi.com>
This commit is contained in:
committed by
Rich Johnston
parent
00d1bda60d
commit
0b85927310
Reference in New Issue
Block a user