cifs: Check for equality with ACL_TYPE_ACCESS and ACL_TYPE_DEFAULT
authorAndreas Gruenbacher <agruenba@redhat.com>
Wed, 13 Apr 2016 22:30:14 +0000 (00:30 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 23 Apr 2016 19:33:03 +0000 (15:33 -0400)
commit45987e006c49728611e41d1fc04ff7cc803959f5
treeb8045252629110f57bce8c0e5fc703fe5907c5c3
parentd9a15489210f3c25de39dee85861352d5e79e9c5
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 <agruenba@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/cifs/cifssmb.c