diff options
author | 2021-06-01 10:07:56 -0400 | |
---|---|---|
committer | 2021-06-29 00:15:51 +0200 | |
commit | f3fd3ea6a26aed5449028608b639f6c6b2fda7f7 (patch) | |
tree | c8a6c07b6434ed0e17d6fd6a55d12de4558860c8 /scripts/gdb/linux/utils.py | |
parent | ceph: add IO size metrics support (diff) | |
download | linux-dev-f3fd3ea6a26aed5449028608b639f6c6b2fda7f7.tar.xz linux-dev-f3fd3ea6a26aed5449028608b639f6c6b2fda7f7.zip |
ceph: decoding error in ceph_update_snap_realm should return -EIO
Currently ceph_update_snap_realm returns -EINVAL when it hits a decoding
error, which is the wrong error code. -EINVAL implies that the user gave
us a bogus argument to a syscall or something similar. -EIO is more
descriptive when we hit a decoding error.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions