[Pkg-samba-maint] [samba] 08/17: vfs_default: unlock the right file in copy chunk

Mathieu Parent sathieu at moszumanska.debian.org
Mon Mar 6 11:50:06 UTC 2017


This is an automated email from the git hooks/post-receive script.

sathieu pushed a commit to branch master
in repository samba.

commit b8ae9cd9b5401c4ca973ded5453801d438e6ff64
Author: Björn Jacke <bj at sernet.de>
Date:   Thu Jan 19 21:51:41 2017 +0100

    vfs_default: unlock the right file in copy chunk
    
    Signed-off-by: Bjoern Jacke <bj at sernet.de>
    Reviewed-by: David Disseldorp <ddiss at samba.org>
    
    Autobuild-User(master): Björn Jacke <bj at 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 at samba.org>
    Autobuild-Date(v4-5-test): Wed Jan 25 23:47:29 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 5227e95..b720e8c 100644
--- a/source3/modules/vfs_default.c
+++ b/source3/modules/vfs_default.c
@@ -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;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-samba/samba.git




More information about the Pkg-samba-maint mailing list