summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_xattr_tdb.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_xattr_tdb.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_xattr_tdb.c')
-rw-r--r--source3/modules/vfs_xattr_tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_xattr_tdb.c b/source3/modules/vfs_xattr_tdb.c
index a22192bcdf0..aac824523b9 100644
--- a/source3/modules/vfs_xattr_tdb.c
+++ b/source3/modules/vfs_xattr_tdb.c
@@ -37,7 +37,7 @@ static int xattr_tdb_get_file_id(struct vfs_handle_struct *handle,
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;