commit | 8af7a3ab51d9780f52b7d2581f144ab127097362 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Mon Oct 25 12:43:22 2010 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Thu Nov 04 12:52:16 2010 +0100 |
tree | 6644961dd743a5f362ed899fb87a861be92bc1bd | |
parent | 205ef7961f781496366e0a93a4ec621ad3724bd7 [diff] |
scsi-disk: Complete failed requests in scsi_disk_emulate_command This pulls the request completion for error cases from the caller to scsi_disk_emulate_command. This should not change semantics, but allows to reuse scsi_handle_write_error() for flushes in the next patch. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>