VFS: vfs_netatalk. Fix wrong VFS call used inside atalk_lchown()
authorJeremy Allison <jra@samba.org>
Thu, 3 Mar 2016 19:53:39 +0000 (11:53 -0800)
committerRalph Boehme <slow@samba.org>
Sat, 5 Mar 2016 08:39:18 +0000 (09:39 +0100)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_netatalk.c

index aaaf62627e4aa092226d32acb196529696207450..4bb26d09dce1d087e87ad7f1c2849fd16528d3e6 100644 (file)
@@ -441,7 +441,7 @@ static int atalk_lchown(struct vfs_handle_struct *handle, const char *path, uid_
        SMB_STRUCT_STAT orig_info;
        TALLOC_CTX *ctx;
 
-       ret = SMB_VFS_NEXT_CHOWN(handle, path, uid, gid);
+       ret = SMB_VFS_NEXT_LCHOWN(handle, path, uid, gid);
 
        if (!path) return ret;