s3: Return correct error code from SMB2 AIO read failure
commit6f461035f8b21e1e143526581b3256663a579a32
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:02:57 +0000 (10 13:02 +0100)
treeb01750fcdb6880975fbfcdbc0a692e92c2483e95
parent53bdc43bdf3220519d96cd56e8b4811c24a49515
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