]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: check *result consistently in RefreshRequest
authorIlya Dryomov <idryomov@gmail.com>
Tue, 30 Aug 2022 19:33:04 +0000 (21:33 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 6 Sep 2022 18:23:47 +0000 (20:23 +0200)
commit3a59b7b6207aa6d4f12b1950c43f1f20d52d958e
tree6cad137bfe5a84b425a54e5c3e7196b378cebb4c
parent4ebce69f9a24eaa39fd4bd9225bcb88f2fe87666
librbd: check *result consistently in RefreshRequest

Stick to *result >= 0 checks everywhere and add missing checks for
op_features_get_finish() and image_group_get_finish() errors.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit ce6dff89c0f005c1ae1dc71cadfbef9f82df37a4)
src/librbd/image/RefreshRequest.cc