diff options
author | Kevin Wolf <kwolf@redhat.com> | 2016-06-29 17:38:57 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-07-13 13:32:27 +0200 |
commit | 1e8fb7f1ee1ba902ab06cb8d54eca006c3b45f42 (patch) | |
tree | d91e85db48b8e9d779a0a5bf7c329f90fd49358c /blockjob.c | |
parent | f6166a06ffdb1cd5dd80adf2d82c35c3bda88239 (diff) |
commit: Fix use of error handling policy
Commit implemented the 'enospc' policy as 'ignore' if the error was not
ENOSPC. The QAPI documentation promises that it's treated as 'stop'.
Using the common block job error handling function fixes this and also
adds the missing QMP event.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'blockjob.c')
0 files changed, 0 insertions, 0 deletions