[PATCH] 260: Add another corner case where length is zero
Dave Chinner
david at fromorbit.com
Tue Oct 9 14:40:19 CDT 2012
On Tue, Oct 09, 2012 at 02:16:52PM +0200, Lukas Czerner wrote:
> This commit adds another corner case to test FITRIM argument handling.
> In this case we set length to zero and we expect the number of discarded
> bytes to be obviously zero, however we've had bug in both ext4 and xfs
> where the internal variable would underflow. This test case will be able
> to catch that in future.
>
> Signed-off-by: Lukas Czerner <lczerner at redhat.com>
I'd create another test for this, rather than making 260 suddenly
fail for everyone....
Cheers,
Dave.
--
Dave Chinner
david at fromorbit.com
More information about the xfs
mailing list