mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
Fix coverity CID 931. This check is redundent as smb_fname can
never be null in this function. Jeremy.
This commit is contained in:
parent
eba2eb45e2
commit
7254898bc7
@ -7244,7 +7244,7 @@ NTSTATUS smbd_do_setfilepathinfo(connection_struct *conn,
|
||||
|
||||
case SMB_SET_FILE_UNIX_HLINK:
|
||||
{
|
||||
if (fsp || smb_fname == NULL) {
|
||||
if (fsp) {
|
||||
/* We must have a pathname for this. */
|
||||
return NT_STATUS_INVALID_LEVEL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user