s3-aio: Use correct locking context for SMB2
commitdfef0701c398982226dde8a8e15ff97bba0fef53
authorChristof Schmitt <cs@samba.org>
Thu, 5 Dec 2013 22:57:54 +0000 (5 15:57 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 6 Dec 2013 02:22:16 +0000 (5 18:22 -0800)
tree729152cc47ab65212fd58eb136a9705f49e9e3c8
parent30231b256d8b14337a7ffe04fc031cf5693110f4
s3-aio: Use correct locking context for SMB2

The synchronous SMB2 reads and writes use open_persistent_id. The AIO
codepathes have to use the same, otherwise a write will conflict with a
lock on the same open file.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/aio.c