git.samba.org
/
metze
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b54158f
)
vfs_default: remove assert from vfswrap_mkdirat()
author
Ralph Boehme
<slow@samba.org>
Mon, 14 Dec 2020 10:55:10 +0000
(11:55 +0100)
committer
Jeremy Allison
<jra@samba.org>
Thu, 17 Dec 2020 18:56:29 +0000
(18:56 +0000)
vfswrap_mkdirat() deals with real dirfsps just fine now.
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 4aaafedac56788bea057335e6aaf457d121135d0..b999c539c856a8578e34bd40b38c9883fd146be8 100644
(file)
--- a/
source3/modules/vfs_default.c
+++ b/
source3/modules/vfs_default.c
@@
-673,8
+673,6
@@
static int vfswrap_mkdirat(vfs_handle_struct *handle,
START_PROFILE(syscall_mkdirat);
- SMB_ASSERT(dirfsp == dirfsp->conn->cwd_fsp);
-
result = mkdirat(fsp_get_pathref_fd(dirfsp), smb_fname->base_name, mode);
END_PROFILE(syscall_mkdirat);