git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
103dc3f
)
smbd: Simplify reply_rmdir()
author
Volker Lendecke
<vl@samba.org>
Mon, 28 Mar 2022 14:49:25 +0000
(16:49 +0200)
committer
Jeremy Allison
<jra@samba.org>
Tue, 29 Mar 2022 21:32:34 +0000
(21:32 +0000)
We don't need to check this here, create_file_default and callees take
care of this.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/reply.c
patch
|
blob
|
history
diff --git
a/source3/smbd/reply.c
b/source3/smbd/reply.c
index 1677d997fe90c33a3b0fa8a2befb7837fc150c77..e7e39fe23ec291c980ac281feed6a7f4dd213eb3 100644
(file)
--- a/
source3/smbd/reply.c
+++ b/
source3/smbd/reply.c
@@
-6873,11
+6873,6
@@
void reply_rmdir(struct smb_request *req)
goto out;
}
- if (is_ntfs_stream_smb_fname(smb_dname)) {
- reply_nterror(req, NT_STATUS_NOT_A_DIRECTORY);
- goto out;
- }
-
status = SMB_VFS_CREATE_FILE(
conn, /* conn */
req, /* req */