Files
apfstests/ltp
Darrick J. Wong c4802d4a53 fsx: fix range overlap check
On 32-bit systems, the offsets are 'unsigned long' (32-bit) which means
that we must cast the explicitly to unsigned long long before feeding
them to llabs.  Without the type conversion we fail to sign-extend the
llabs parameter, try to make a copy/clone/dedupe call with overlapping
ranges, and fsx aborts and the test fails.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
2020-01-06 17:52:57 +08:00
..
2018-06-22 10:38:11 +08:00
2018-06-22 10:38:11 +08:00
2018-06-22 10:38:11 +08:00
2020-01-06 17:52:57 +08:00
2018-06-22 10:38:11 +08:00
2018-06-22 10:38:11 +08:00