summaryrefslogtreecommitdiffstats
path: root/fs/cifs
diff options
context:
space:
mode:
authorShyam Prasad N <sprasad@microsoft.com>2021-02-21 09:21:25 +0100
committerSteve French <stfrench@microsoft.com>2021-02-23 04:20:44 +0100
commitc12ead71e86f47f4715f61e6dee7b7120532bedb (patch)
tree11831434d2ad6d3f190cf6997d32708531fb55f6 /fs/cifs
parentcifs: clarify hostname vs ip address in /proc/fs/cifs/DebugData (diff)
downloadlinux-c12ead71e86f47f4715f61e6dee7b7120532bedb.tar.xz
linux-c12ead71e86f47f4715f61e6dee7b7120532bedb.zip
cifs: Fix cifsacl ACE mask for group and others.
A two line fix which I made while testing my prev fix with cifsacl mode conversions seem to have gone missing in the final fix that was submitted. This is that fix. Signed-off-by: Shyam Prasad N <sprasad@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r--fs/cifs/cifsacl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/cifsacl.h b/fs/cifs/cifsacl.h
index ff7fd0862e28..d9e704979d99 100644
--- a/fs/cifs/cifsacl.h
+++ b/fs/cifs/cifsacl.h
@@ -31,8 +31,8 @@
#define EXEC_BIT 0x1
#define ACL_OWNER_MASK 0700
-#define ACL_GROUP_MASK 0770
-#define ACL_EVERYONE_MASK 0777
+#define ACL_GROUP_MASK 0070
+#define ACL_EVERYONE_MASK 0007
#define UBITSHIFT 6
#define GBITSHIFT 3