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 caea4378e3..05c180fc5d 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -5773,7 +5773,7 @@ static NTSTATUS smb_set_file_full_ea_info(connection_struct *conn, return NT_STATUS_INVALID_PARAMETER; } - if (fsp && !(fsp->access_mask & FILE_WRITE_EA)) { + if (!(fsp->access_mask & FILE_WRITE_EA)) { return NT_STATUS_ACCESS_DENIED; } |