"Invalid argument" is a better response to an impossibly high offset
dedupe request than "extents don't match", so change the test.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Dedupe past maximum file size in dest file (should fail)
dedupe: Invalid argument
Dedupe high offset to low offset
-dedupe: Extents did not match.
+dedupe: Invalid argument
Dedupe past source file EOF (should fail)
dedupe: Invalid argument
Dedupe max size at nonzero offset (should fail)