diff options
author | Namjae Jeon <namjae.jeon@samsung.com> | 2021-06-30 09:37:43 +0900 |
---|---|---|
committer | Namjae Jeon <namjae.jeon@samsung.com> | 2021-06-30 14:43:53 +0900 |
commit | 6128468da50c790f56d0aed2f604333fb324f897 (patch) | |
tree | 1ff2f3858ac2f6b2bc146be7c1ad9e1873ef6f42 | |
parent | 0ae941ef2e481e478a4b6c52a16e73c7bb4b9e3e (diff) | |
download | linux-stable-6128468da50c790f56d0aed2f604333fb324f897.tar.gz linux-stable-6128468da50c790f56d0aed2f604333fb324f897.tar.bz2 linux-stable-6128468da50c790f56d0aed2f604333fb324f897.zip |
ksmbd: change ACE types to enumeration
Change ACE types to enumeration.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
-rw-r--r-- | fs/ksmbd/smbacl.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/fs/ksmbd/smbacl.h b/fs/ksmbd/smbacl.h index fb5480f0aa89..baa9b9b47a07 100644 --- a/fs/ksmbd/smbacl.h +++ b/fs/ksmbd/smbacl.h @@ -17,8 +17,13 @@ #define NUM_AUTHS (6) /* number of authority fields */ #define SID_MAX_SUB_AUTHORITIES (15) /* max number of sub authority fields */ -#define ACCESS_ALLOWED 0 -#define ACCESS_DENIED 1 +/* + * ACE types - see MS-DTYP 2.4.4.1 + */ +enum { + ACCESS_ALLOWED, + ACCESS_DENIED, +}; #define SIDOWNER 1 #define SIDGROUP 2 |