diff options
-rw-r--r-- | source3/smbd/trans2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 06536f9e21..561c18a29d 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -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; } |