diff options
author | Jeremy Allison <jra@samba.org> | 2011-11-15 16:20:44 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-11-15 17:01:58 -0800 |
commit | c6a62f60a23fdadb99da4d4b47694b273342f2a7 (patch) | |
tree | e59321416313483ea4fd5b5bd2fa9c548c33c1a2 /source3 | |
parent | 93000c98ad42a2e089ba6b371d811263f953c23d (diff) | |
download | samba-c6a62f60a23fdadb99da4d4b47694b273342f2a7.tar.gz samba-c6a62f60a23fdadb99da4d4b47694b273342f2a7.tar.bz2 samba-c6a62f60a23fdadb99da4d4b47694b273342f2a7.zip |
We've already checked fsp must be non-null here.
Diffstat (limited to 'source3')
-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; } |