summaryrefslogtreecommitdiffstats
path: root/include/rxrpc/packet.h
diff options
context:
space:
mode:
authorIlya Dryomov <ilya.dryomov@inktank.com>2014-09-11 18:49:18 +0400
committerIlya Dryomov <idryomov@redhat.com>2014-10-14 21:03:26 +0400
commit7dd440c9e0711d828442c3e129ab8bcb9aeeac23 (patch)
tree20185208bba6b36327a9bb58b1e9e4cc5cffc5b1 /include/rxrpc/packet.h
parent91883cd27c4e2523dd53e2bd6f71a1c5e0be5a38 (diff)
rbd: do not return -ERANGE on auth failures
Trying to map an image out of a pool for which we don't have an 'x' permission bit fails with -ERANGE from ceph_extract_encoded_string() due to an unsigned vs signed bug. Fix it and get rid of the -EINVAL sink, thus propagating rbd::get_id cls method errors. (I've seen a bunch of unexplained -ERANGE reports, I bet this is it). Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com> Reviewed-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'include/rxrpc/packet.h')
0 files changed, 0 insertions, 0 deletions