]> git.baikalelectronics.ru Git - kernel.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 19:21:29 +0000 (21:21 +0200)
commit7783d9bdeb6cf03f067bc835a84ce58f181e6d1b
treebf95f8a77df2684b66a8b5ef2098d44660fbed64
parente04d5d0fe4f5fdc5dc7797361ed3b4505bb9dfa1
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