summaryrefslogtreecommitdiff
path: root/fs/cifs/cifsacl.h
diff options
context:
space:
mode:
authorShyam Prasad N <sprasad@microsoft.com>2021-02-21 11:21:25 +0300
committerSteve French <stfrench@microsoft.com>2021-02-23 06:20:44 +0300
commitc12ead71e86f47f4715f61e6dee7b7120532bedb (patch)
tree11831434d2ad6d3f190cf6997d32708531fb55f6 /fs/cifs/cifsacl.h
parent40f077a02bf9d70719128d2a807e28a3503711eb (diff)
downloadlinux-c12ead71e86f47f4715f61e6dee7b7120532bedb.tar.xz
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/cifsacl.h')
-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