>From d37eff5450c13214048e04251072cd2f9bc2a940 Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl@samba.org>
Date: Mon, 10 Oct 2016 14:24:31 +0200
Subject: [PATCH] nfs4acls: Fix SMB_ACE4_MAX_TYPE define

ACE4_SYSTEM_ALARM_ACE_TYPE does not exist

Signed-off-by: Volker Lendecke <vl@samba.org>
---
 source3/modules/nfs4_acls.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source3/modules/nfs4_acls.h b/source3/modules/nfs4_acls.h
index ba6761d..a73b315 100644
--- a/source3/modules/nfs4_acls.h
+++ b/source3/modules/nfs4_acls.h
@@ -65,7 +65,7 @@ typedef struct _SMB_ACE4PROP_T {
 #define	SMB_ACE4_ACCESS_DENIED_ACE_TYPE	0x00000001
 #define	SMB_ACE4_SYSTEM_AUDIT_ACE_TYPE	0x00000002
 #define	SMB_ACE4_SYSTEM_ALARM_ACE_TYPE	0x00000003
-#define SMB_ACE4_MAX_TYPE	ACE4_SYSTEM_ALARM_ACE_TYPE  /* largest valid ACE4_TYPE */
+#define SMB_ACE4_MAX_TYPE	SMB_ACE4_SYSTEM_ALARM_ACE_TYPE  /* largest valid ACE4_TYPE */
 
 	uint32_t aceFlags;	/* Controls Inheritance and such */
 /*The bitmask constants used for the flag field are as follows: */
-- 
2.1.4

