s3: Make us survive smb2.lock.rw-shared with aio enabled
commit27e20d5d60ea8aa526bcb7c2dfc18dd2de0bb97b
authorVolker Lendecke <vl@samba.org>
Fri, 13 Jul 2012 06:38:07 +0000 (13 08:38 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 13 Jul 2012 19:53:51 +0000 (13 21:53 +0200)
tree0b009c67e3ba8e7d3ad7a26f1763455206ed8828
parent10b818bb222aaec4de2c31594e5ca48102f7af6a
s3: Make us survive smb2.lock.rw-shared with aio enabled

schedule_aio_smb2_write can return NT_STATUS_FILE_LOCK_CONFLICT.
This is a valid error code that smb2.lock.rw-shared expects and
checks for. The code before this patch maps this to NT_STATUS_FILE_CLOSED,
masking the real, correct error message.

Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Jul 13 21:53:51 CEST 2012 on sn-devel-104
source3/smbd/smb2_write.c