summaryrefslogtreecommitdiffstats
path: root/xlators/features/locks/src/entrylk.c
diff options
context:
space:
mode:
authorKaushal M <kaushal@redhat.com>2016-04-01 12:41:54 +0530
committerKaushal M <kaushal@redhat.com>2016-04-01 12:45:51 +0530
commit34a7b3435af90e1e175fde31f61755d6fabda7ef (patch)
tree879ddf5b65fc83f2d69f3744a0b68fe7f8827bd7 /xlators/features/locks/src/entrylk.c
parent5560961e5188c6b8f4b09d57245513a8f9612ff4 (diff)
Revert "cluster/ec: Rebalance hangs during rename"
This reverts commit 3d34c495d547866a533bc0614b14163381830095, which broke building rpms and possibly other packages as well. Change-Id: I2c10a613599e63bc0cbdb1b405cd87be9efa4a99
Diffstat (limited to 'xlators/features/locks/src/entrylk.c')
-rw-r--r--xlators/features/locks/src/entrylk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/features/locks/src/entrylk.c b/xlators/features/locks/src/entrylk.c
index d039db6d5a4..a4b5969a189 100644
--- a/xlators/features/locks/src/entrylk.c
+++ b/xlators/features/locks/src/entrylk.c
@@ -437,10 +437,10 @@ __unlock_entrylk (pl_dom_list_t *dom, pl_entry_lock_t *lock)
return ret_lock;
}
-int32_t
+uint32_t
check_entrylk_on_basename (xlator_t *this, inode_t *parent, char *basename)
{
- int32_t entrylk = 0;
+ uint32_t entrylk = 0;
pl_inode_t *pinode = 0;
pl_dom_list_t *dom = NULL;
pl_entry_lock_t *conf = NULL;