diff options
author | Filipe Manana <fdmanana@suse.com> | 2023-11-21 13:38:33 +0000 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-11-23 22:27:46 +0100 |
commit | 7d410d5efe04e42a6cd959bfe6d59d559fdf8b25 (patch) | |
tree | e93d993c9353b5b1e5adbe74711d58ff72899836 /tools/net/ynl/generated/netdev-user.c | |
parent | 5fba5a571858ce2d787fdaf55814e42725bfa895 (diff) |
btrfs: make error messages more clear when getting a chunk map
When getting a chunk map, at btrfs_get_chunk_map(), we do some sanity
checks to verify we found a chunk map and that map found covers the
logical address the caller passed in. However the messages aren't very
clear in the sense that don't mention the issue is with a chunk map and
one of them prints the 'length' argument as if it were the end offset of
the requested range (while the in the string format we use %llu-%llu
which suggests a range, and the second %llu-%llu is actually a range for
the chunk map). So improve these two details in the error messages.
CC: stable@vger.kernel.org # 5.4+
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/net/ynl/generated/netdev-user.c')
0 files changed, 0 insertions, 0 deletions