Move copychunk locking to be local to the read/write calls.
commitf2d028ef552adf13eed10b7db47e35bfa89a9c02
authorJeremy Allison <jra@samba.org>
Thu, 17 Jan 2013 00:29:11 +0000 (16 16:29 -0800)
committerDavid Disseldorp <ddiss@samba.org>
Thu, 17 Jan 2013 23:06:52 +0000 (18 00:06 +0100)
tree3dcc5a313648d086421f5c38d42425f57ec8e785
parentd562e9006a341ade6f38ee129598dd2e1dc3a493
Move copychunk locking to be local to the read/write calls.

Eliminates the need to hold locks across the
entire lifetime of the call.

Next commit will remove these.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
source3/modules/vfs_default.c