mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
vfs_default: unlock the right file in copy chunk
Signed-off-by: Bjoern Jacke <bj@sernet.de> Reviewed-by: David Disseldorp <ddiss@samba.org> Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Sat Jan 21 17:00:54 CET 2017 on sn-devel-144 BUG: https://bugzilla.samba.org/show_bug.cgi?id=12535 (cherry picked from commit 5059c8e2e3a6159bc2917ddd80d09fab35b39e66) Autobuild-User(v4-5-test): Karolin Seeger <kseeger@samba.org> Autobuild-Date(v4-5-test): Wed Jan 25 23:47:29 CET 2017 on sn-devel-144
This commit is contained in:
parent
4426d43437
commit
b8ae9cd9b5
@ -1537,7 +1537,7 @@ static struct tevent_req *vfswrap_copy_chunk_send(struct vfs_handle_struct *hand
|
||||
saved_errno = errno;
|
||||
}
|
||||
|
||||
SMB_VFS_STRICT_UNLOCK(src_fsp->conn, src_fsp, &lck);
|
||||
SMB_VFS_STRICT_UNLOCK(dest_fsp->conn, dest_fsp, &lck);
|
||||
|
||||
if (ret == -1) {
|
||||
errno = saved_errno;
|
||||
|
Loading…
x
Reference in New Issue
Block a user