From: Namjae Jeon Date: Wed, 30 Jun 2021 00:37:43 +0000 (+0900) Subject: ksmbd: change ACE types to enumeration X-Git-Tag: v5.15~454^2~12^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6128468da50c790f56d0aed2f604333fb324f897;p=platform%2Fkernel%2Flinux-starfive.git ksmbd: change ACE types to enumeration Change ACE types to enumeration. Reviewed-by: Christoph Hellwig Signed-off-by: Namjae Jeon Signed-off-by: Steve French --- diff --git a/fs/ksmbd/smbacl.h b/fs/ksmbd/smbacl.h index fb5480f..baa9b9b 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