aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/generated/devlink-user.c
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2023-11-21 13:38:33 +0000
committerDavid Sterba <[email protected]>2023-11-23 21:27:46 +0000
commit7d410d5efe04e42a6cd959bfe6d59d559fdf8b25 (patch)
treee93d993c9353b5b1e5adbe74711d58ff72899836 /tools/net/ynl/generated/devlink-user.c
parentbtrfs: fix off-by-one when checking chunk map includes logical address (diff)
downloadkernel-7d410d5efe04e42a6cd959bfe6d59d559fdf8b25.tar.gz
kernel-7d410d5efe04e42a6cd959bfe6d59d559fdf8b25.zip
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: [email protected] # 5.4+ Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Filipe Manana <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/net/ynl/generated/devlink-user.c')
0 files changed, 0 insertions, 0 deletions