]> 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)
commitd0bb883c6355bcb2cc149fb4d5c3b28ccd327a5e
treebf95f8a77df2684b66a8b5ef2098d44660fbed64
parent75dbb685f4e8786c33ddef8279bab0eadfb0731f
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