From 5059c8e2e3a6159bc2917ddd80d09fab35b39e66 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20Jacke?= Date: Thu, 19 Jan 2017 21:51:41 +0100 Subject: [PATCH] vfs_default: unlock the right file in copy chunk MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Bjoern Jacke Reviewed-by: David Disseldorp Autobuild-User(master): Björn Jacke Autobuild-Date(master): Sat Jan 21 17:00:54 CET 2017 on sn-devel-144 --- source3/modules/vfs_default.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index 4e8605bdaee..d4610f74c2e 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -1710,7 +1710,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; -- 2.11.4.GIT