]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: tests: fix error messages for test case 4 of extent map tests
authorFilipe Manana <fdmanana@suse.com>
Mon, 4 Dec 2023 16:20:24 +0000 (16:20 +0000)
committerDavid Sterba <dsterba@suse.com>
Fri, 15 Dec 2023 21:59:01 +0000 (22:59 +0100)
commitb30aa1c176ba86a035d40c2d2f12dc0e0f687e0e
tree70f28e63cfbc06b8454e4748eb592d770d4f1de9
parent32d53f6f7b01f572dac6f0c2f4dbfc03ebe38112
btrfs: tests: fix error messages for test case 4 of extent map tests

In test case 4 for extent maps, if we error out we are supposed to print
in interval but instead of printing a non-inclusive end offset, we are
printing the length of the interval, which makes it confusing. So fix
that to print the exclusive end offset instead.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/tests/extent-map-tests.c