summaryrefslogtreecommitdiff
path: root/drivers/clk
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2016-09-13 20:18:01 +0200
committerIlya Dryomov <idryomov@gmail.com>2016-10-03 16:13:47 +0200
commitc2e82414884718ad6ec33a7528606cb07cf55cb4 (patch)
tree6433dcfbff2879085b729f9fc93826cf3cc4fac3 /drivers/clk
parent058aa9919147da9f088a96982a19ea0864139dc8 (diff)
rbd: mark the original request as done if stat request fails
If stat request fails with something other than -ENOENT (which just means that we need to copyup), the original object request is never marked as done and therefore never completed. Fix this by moving the mark done + complete snippet from rbd_img_obj_parent_read_full() into rbd_img_obj_exists_callback(). The former remains covered, as the latter is its only caller (through rbd_img_obj_request_submit()). Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Alex Elder <elder@linaro.org> Reviewed-by: David Disseldorp <ddiss@suse.de>
Diffstat (limited to 'drivers/clk')
0 files changed, 0 insertions, 0 deletions