summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-locks.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-locks.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-locks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-locks.c b/xlators/mgmt/glusterd/src/glusterd-locks.c
index 531e0ba..0af2a18 100644
--- a/xlators/mgmt/glusterd/src/glusterd-locks.c
+++ b/xlators/mgmt/glusterd/src/glusterd-locks.c
@@ -26,7 +26,7 @@
#include <signal.h>
-#define MAX_LOCKING_ENTITIES 2
+#define GF_MAX_LOCKING_ENTITIES 2
/* Valid entities that the mgmt_v3 lock can hold locks upon *
* To add newer entities to be locked, we can just add more *
@@ -453,7 +453,7 @@ glusterd_multiple_mgmt_v3_lock (dict_t *dict, uuid_t uuid)
locked_count++;
}
- if (locked_count == MAX_LOCKING_ENTITIES) {
+ if (locked_count == GF_MAX_LOCKING_ENTITIES) {
/* If all locking ops went successfuly, return as success */
ret = 0;
goto out;