diff options
author | Volker Lendecke <vl@samba.org> | 2021-11-23 12:29:17 +0100 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2022-04-28 13:12:33 +0000 |
commit | 6086a73f4e50fc12db1155e52f026a4ca0f8fc40 (patch) | |
tree | fdc9ba43ba33153feef73ef602895f9403fecf84 /examples | |
parent | de9986fb9b7a408f767eccc64a0941a1d28f8e74 (diff) | |
download | samba-6086a73f4e50fc12db1155e52f026a4ca0f8fc40.tar.gz |
Revert "vfs: remove dirfsp arg from SMB_VFS_CREATE_FILE()"
This reverts commit 322574834f1e71bc01f21be9059ca4d386517c84.
Not strictly a revert anymore, but for future work we do need "dirfsp"
in create_file_default() passed through the VFS.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/VFS/skel_opaque.c | 1 | ||||
-rw-r--r-- | examples/VFS/skel_transparent.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index 3c511ead769..23614b660d9 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -206,6 +206,7 @@ static int skel_openat(struct vfs_handle_struct *handle, static NTSTATUS skel_create_file(struct vfs_handle_struct *handle, struct smb_request *req, + struct files_struct *dirfsp, struct smb_filename *smb_fname, uint32_t access_mask, uint32_t share_access, diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index 43d5e818378..9fc211c5e2e 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -214,6 +214,7 @@ static int skel_openat(struct vfs_handle_struct *handle, static NTSTATUS skel_create_file(struct vfs_handle_struct *handle, struct smb_request *req, + struct files_struct *dirfsp, struct smb_filename *smb_fname, uint32_t access_mask, uint32_t share_access, @@ -232,6 +233,7 @@ static NTSTATUS skel_create_file(struct vfs_handle_struct *handle, { return SMB_VFS_NEXT_CREATE_FILE(handle, req, + dirfsp, smb_fname, access_mask, share_access, |