summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-11-15 16:20:44 -0800
committerJeremy Allison <jra@samba.org>2011-11-15 17:01:58 -0800
commitc6a62f60a23fdadb99da4d4b47694b273342f2a7 (patch)
treee59321416313483ea4fd5b5bd2fa9c548c33c1a2 /source3
parent93000c98ad42a2e089ba6b371d811263f953c23d (diff)
downloadsamba-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.c2
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;
}