git.samba.org
/
mat
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
We've already checked fsp must be non-null here.
[mat/samba.git]
/
source3
/
smbd
/
trans2.c
diff --git
a/source3/smbd/trans2.c
b/source3/smbd/trans2.c
index caea4378e32dc5a5e044845f5ed3988171439963..05c180fc5dbc4f2dd3963053b07108a418acbeab 100644
(file)
--- 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;
}