]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
rbd: remove rbd_parent_request_{create,destroy}()
authorIlya Dryomov <idryomov@gmail.com>
Tue, 6 Feb 2018 18:26:35 +0000 (19:26 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 2 Apr 2018 08:12:44 +0000 (10:12 +0200)
commite93aca0abb8b9f8fd23675dc9110b7517964657a
tree1a4a77c4315772ac063fb0913a91d29dab34987c
parentdfd9875f11008183c26fea5fdf23e6740fe8aa5a
rbd: remove rbd_parent_request_{create,destroy}()

rbd_parent_request_create() takes a ref on obj_req for child_img_req.
There is no point in doing that because child_img_req is created on
behalf of obj_req -- obj_req is the initiator and can't be completed
before child_img_req.

Open-code the rest of rbd_parent_request_create() and remove it along
with rbd_parent_request_destroy().

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
drivers/block/rbd.c