Skip to content
Snippets Groups Projects
Commit 4172a003 authored by Sochin Jiang's avatar Sochin Jiang Committed by Hanna Reitz
Browse files

fix: avoid an infinite loop or a dangling pointer problem in img_commit


img_commit could fall into an infinite loop calling run_block_job() if
its blockjob fails on any I/O error, fix this already known problem.

Signed-off-by: default avatarsochin.jiang <sochin.jiang@huawei.com>
Message-id: 1497509253-28941-1-git-send-email-sochin.jiang@huawei.com
Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
parent f5a5ca79
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment