]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
libceph: fix misleading ceph_osdc_cancel_request() comment
authorIlya Dryomov <idryomov@gmail.com>
Mon, 16 May 2022 15:17:54 +0000 (17:17 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 18 May 2022 11:59:08 +0000 (13:59 +0200)
commita0b6845f1bf96a6df1118806a058d0d4f13414b2
treebf95f8a77df2684b66a8b5ef2098d44660fbed64
parentdb0b7e1fc509431f93d65229ac7f00a21b87c190
libceph: fix misleading ceph_osdc_cancel_request() comment

cancel_request() never guaranteed that after its return the OSD
client would be completely done with the OSD request.  The callback
(if specified) can still be invoked and a ref can still be held.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
net/ceph/osd_client.c