s3: Return correct error code from SMB2 AIO read failure
commit5c994896d2fa4010297b6cde53a158c797a44bd1
authorChristof Schmitt <cs@samba.org>
Thu, 5 Dec 2013 23:20:26 +0000 (5 16:20 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 10 Dec 2013 12:00:49 +0000 (10 13:00 +0100)
tree6ccbaddf7ca1c34850ac3f53ca9d12e0d6b6e99b
parentc36bda8872b9a62b64de6f2f5c7486895dc5634c
s3: Return correct error code from SMB2 AIO read failure

This is similar to commit 27e20d5d60ea8aa526bcb7c2dfc18dd2de0bb97b which
fixed the same case for SMB2 writes: When sending the AIO read fails,
return the real error instead of mapping it to NT_STATUS_FILE_CLOSED.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit eadb2a54d1733a482999eb770182156dad1e184d)
source3/smbd/smb2_read.c