summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_fake_acls.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2016-03-18 21:19:38 -0700
committerJeremy Allison <jra@samba.org>2016-03-24 22:57:16 +0100
commitdc5dad48139a3dcb4544e4f31aabe269f6401849 (patch)
treed28e38e34b700d0bc2cabab81f8130eaf1c91909 /source3/modules/vfs_fake_acls.c
parent2e302d7007a58df972f7e63382ee8c9729f80560 (diff)
downloadsamba-dc5dad48139a3dcb4544e4f31aabe269f6401849.tar.gz
s3: Filenames: Add uint32_t flags parameter to synthetic_smb_fname().
Get it from parent/deriving smb_filename if present. Use 0 (as usually this a Windows-style lookup) if not. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Uri Simchoni <uri@samba.org>
Diffstat (limited to 'source3/modules/vfs_fake_acls.c')
-rw-r--r--source3/modules/vfs_fake_acls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_fake_acls.c b/source3/modules/vfs_fake_acls.c
index 491e1ac1ea8..55ff7db37df 100644
--- a/source3/modules/vfs_fake_acls.c
+++ b/source3/modules/vfs_fake_acls.c
@@ -364,7 +364,7 @@ static int fake_acls_sys_acl_delete_def_file(vfs_handle_struct *handle, const ch
TALLOC_CTX *frame = talloc_stackframe();
struct smb_filename *smb_fname;
- smb_fname = synthetic_smb_fname(frame, path, NULL, NULL);
+ smb_fname = synthetic_smb_fname(frame, path, NULL, NULL, 0);
if (smb_fname == NULL) {
TALLOC_FREE(frame);
errno = ENOMEM;