diff options
| author | Andreas Gruenbacher <[email protected]> | 2016-04-13 22:30:14 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2016-04-23 19:33:03 +0000 |
| commit | 45987e006c49728611e41d1fc04ff7cc803959f5 (patch) | |
| tree | b8045252629110f57bce8c0e5fc703fe5907c5c3 /security/selinux/hooks.c | |
| parent | cifs: Fix xattr name checks (diff) | |
| download | kernel-45987e006c49728611e41d1fc04ff7cc803959f5.tar.gz kernel-45987e006c49728611e41d1fc04ff7cc803959f5.zip | |
cifs: Check for equality with ACL_TYPE_ACCESS and ACL_TYPE_DEFAULT
The two values ACL_TYPE_ACCESS and ACL_TYPE_DEFAULT are meant to be
enumerations, not bits in a bit mask. Use '==' instead of '&' to check
for these values.
Signed-off-by: Andreas Gruenbacher <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
