diff options
author | Kevin Wolf <kwolf@redhat.com> | 2016-08-09 13:20:19 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2016-08-11 09:42:35 +0100 |
commit | 44713c9e8547f0ff41e3e257f0dd5c17bb497225 (patch) | |
tree | 7c5a9bf11041872e2051b821439dbd57b1f532c1 /crypto | |
parent | d08306dc42ea599ffcf8aad056fa9c23acfbe230 (diff) |
linux-aio: Handle io_submit() failure gracefully
It is generally not expected that io_submit() fails other than with
-EAGAIN, but corner cases like SELinux refusing I/O when permissions are
revoked are still possible. In this case, we shouldn't abort, but just
return an I/O error for the request.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-id: 1470741619-23231-1-git-send-email-kwolf@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions