git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0a4d8c
)
vfs_default: realign synthetic_smb_fname() args in vfswrap_realpath()
author
Ralph Boehme
<slow@samba.org>
Sun, 3 May 2020 13:02:38 +0000
(15:02 +0200)
committer
Jeremy Allison
<jra@samba.org>
Tue, 5 May 2020 19:18:38 +0000
(19:18 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_default.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_default.c
b/source3/modules/vfs_default.c
index 6b5ab1e2ef459e618bc89c8e8791bfa0decd04cf..f86bbfe56a2b4b4ed59981ab869a906ce1f719de 100644
(file)
--- a/
source3/modules/vfs_default.c
+++ b/
source3/modules/vfs_default.c
@@
-2927,7
+2927,11
@@
static struct smb_filename *vfswrap_realpath(vfs_handle_struct *handle,
result = sys_realpath(smb_fname->base_name);
END_PROFILE(syscall_realpath);
if (result) {
- result_fname = synthetic_smb_fname(ctx, result, NULL, NULL, 0);
+ result_fname = synthetic_smb_fname(ctx,
+ result,
+ NULL,
+ NULL,
+ 0);
SAFE_FREE(result);
}
return result_fname;