]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs_fruit: avoid using fsp->dirsp
authorRalph Boehme <slow@samba.org>
Mon, 22 Jun 2020 13:04:18 +0000 (15:04 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 2 Oct 2020 19:39:44 +0000 (19:39 +0000)
fsp->dirfsp will eventually go away again.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_fruit.c

index 1eacd91253164a490ea5c3e54058ac387b7b6f40..90eaea4d9117c9e19dde4ad33a4d0d6d2aa044e4 100644 (file)
@@ -2468,7 +2468,7 @@ static ssize_t fruit_pwrite_meta_stream(vfs_handle_struct *handle,
                }
 
                fd = SMB_VFS_NEXT_OPENAT(handle,
-                                        fsp->dirfsp,
+                                        fsp->conn->cwd_fsp,
                                         fsp->fsp_name,
                                         fsp,
                                         fio->flags,