]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix bug in error codes returned
authorJ. Eric Ivancich <ivancich@redhat.com>
Fri, 16 Nov 2018 15:47:48 +0000 (10:47 -0500)
committerAbhishek Lekshmanan <abhishek@suse.com>
Fri, 7 Dec 2018 14:53:45 +0000 (15:53 +0100)
commit216c7d90e0da96bcdc7297b4db7b21c5401f3b4b
tree4ae94b224544a3c1d162c37a5e9fa2941120e681
parent2d98e2a5f5a96c84758360e8f208d25453317485
rgw: fix bug in error codes returned

Fixes two bugs where positive error code was returned rather than
negative error code, which is the RGW norm.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit dc0732c524c2d8fb5b423f8cce8c6cc9aa7ca44a)
src/rgw/rgw_reshard.cc