John Snow df403bc588 ahci: clear aiocb in ncq_cb
Similar to existing fixes for IDE (87ac25fd) and ATAPI (7f951b2d), the
AIOCB must be cleared in the callback. Otherwise, we may accidentally
try to reset a dangling pointer in bdrv_aio_cancel() from a port reset.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1474575040-32079-2-git-send-email-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
2016-09-29 15:50:29 -04:00
..
2016-09-24 01:02:01 +03:00
2016-09-13 18:12:34 +03:00
2016-09-22 18:13:08 +01:00
2016-09-29 15:50:29 -04:00
2016-09-23 11:42:52 +08:00
2016-09-23 11:42:52 +08:00
2016-09-19 12:41:28 +01:00
2016-09-22 18:13:08 +01:00
2016-09-15 15:32:22 +03:00
2016-09-23 11:42:52 +08:00
2016-09-15 15:32:22 +03:00
2016-09-23 11:42:52 +08:00