rbd: kill img_request kref
authorHannes Reinecke <hare@suse.de>
Fri, 31 Jan 2020 10:37:36 +0000 (11:37 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 30 Mar 2020 10:42:40 +0000 (12:42 +0200)
commit679a97d28627647e5a68dd684537e499cd741e2a
tree5741e64eb516ceac00d168c61c7d1a02c9464149
parentbbb480ab05b2c148d8f8378660bfddd46761e86e
rbd: kill img_request kref

The reference counter is never increased, so we can as well call
rbd_img_request_destroy() directly and drop the kref.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
drivers/block/rbd.c