diff options
author | Jeremy Allison <jra@samba.org> | 2020-05-29 16:32:12 -0700 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2020-06-03 04:54:38 +0000 |
commit | 65b8c0cfbe81cc8ca587ef92c5b951a3c147d542 (patch) | |
tree | fc7532e60f8da402eb6dcf419ef33c5cfa40ef90 /examples | |
parent | 2a4705129d06b91023bc3fc435fccf91d3939553 (diff) | |
download | samba-65b8c0cfbe81cc8ca587ef92c5b951a3c147d542.tar.gz |
s3: VFS: Change the function signature for SMB_VFS_READ_DFS_PATHAT() to take a non-const smb_filename.
Otherwise there's no good way to return proper stat(2) information
for a DFS link without making assumptions it's a symlink store.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14391
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/VFS/skel_opaque.c | 2 | ||||
-rw-r--r-- | examples/VFS/skel_transparent.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index 1a9b472634d..0a6ca4d9200 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -115,7 +115,7 @@ static NTSTATUS skel_create_dfs_pathat(struct vfs_handle_struct *handle, static NTSTATUS skel_read_dfs_pathat(struct vfs_handle_struct *handle, TALLOC_CTX *mem_ctx, struct files_struct *dirfsp, - const struct smb_filename *smb_fname, + struct smb_filename *smb_fname, struct referral **ppreflist, size_t *preferral_count) { diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index fdb6d0d5f54..677af2217bf 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -116,7 +116,7 @@ static NTSTATUS skel_create_dfs_pathat(struct vfs_handle_struct *handle, static NTSTATUS skel_read_dfs_pathat(struct vfs_handle_struct *handle, TALLOC_CTX *mem_ctx, struct files_struct *dirfsp, - const struct smb_filename *smb_fname, + struct smb_filename *smb_fname, struct referral **ppreflist, size_t *preferral_count) { |