From d55a767287d7f0ae1b3a018f3cb7b2a6730ebafa Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Wed, 18 Apr 2012 17:26:00 -0400 Subject: [PATCH] Windows: reverse order of EACCESS and USER locks The user lock is obtain while holding the eaccess lock. Reflect it in the hierarchy. Change-Id: I3aac945287415cd3babbe52f9fdeb93ab4d729bd Reviewed-on: http://gerrit.openafs.org/7247 Tested-by: BuildBot Reviewed-by: Chas Williams - CONTRACTOR Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman --- src/WINNT/afsd/cm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/WINNT/afsd/cm.h b/src/WINNT/afsd/cm.h index e1711ad8a4..706fe502df 100644 --- a/src/WINNT/afsd/cm.h +++ b/src/WINNT/afsd/cm.h @@ -81,8 +81,8 @@ #define LOCK_HIERARCHY_UTILS_GLOBAL 710 #define LOCK_HIERARCHY_OTHER_GLOBAL 720 #define LOCK_HIERARCHY_ACL_GLOBAL 730 -#define LOCK_HIERARCHY_USER_GLOBAL 740 -#define LOCK_HIERARCHY_EACCES_GLOBAL 750 +#define LOCK_HIERARCHY_EACCES_GLOBAL 740 +#define LOCK_HIERARCHY_USER_GLOBAL 750 #define LOCK_HIERARCHY_AFSDBSBMT_GLOBAL 1000 #define LOCK_HIERARCHY_TOKEN_EVENT_GLOBAL 2000 #define LOCK_HIERARCHY_SYSCFG_GLOBAL 3000