mirror of
https://github.com/samba-team/samba.git
synced 2025-03-20 22:50:26 +03:00
s3:smbd/close: do an early return in close_directory()
metze
This commit is contained in:
parent
d792f59aeb
commit
8751c3f2ef
@ -1063,8 +1063,7 @@ static NTSTATUS close_directory(struct smb_request *req, files_struct *fsp,
|
||||
if (lck == NULL) {
|
||||
DEBUG(0, ("close_directory: Could not get share mode lock for "
|
||||
"%s\n", fsp_str_dbg(fsp)));
|
||||
status = NT_STATUS_INVALID_PARAMETER;
|
||||
goto out;
|
||||
return NT_STATUS_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
if (!del_share_mode(lck, fsp)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user