Move copychunk locking to be local to the read/write calls.
authorJeremy Allison <jra@samba.org>
Thu, 17 Jan 2013 00:29:11 +0000 (16:29 -0800)
committerDavid Disseldorp <ddiss@samba.org>
Mon, 15 Apr 2013 16:15:15 +0000 (18:15 +0200)
commite6eadbdbff0bfa0cb805ce636b8c09fe722e0164
tree114f1b972e02d293eb83e140ac43892e6110b27d
parentdc9882d64b3c9fabd4d2f06f0771caedb807ad71
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>
(cherry picked from commit f2d028ef552adf13eed10b7db47e35bfa89a9c02)
source3/modules/vfs_default.c