mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
smbd: Simplify reply_rmdir()
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>
This commit is contained in:
committed by
Jeremy Allison
parent
103dc3f938
commit
50bac24665
@ -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 */
|
||||
|
Reference in New Issue
Block a user