summaryrefslogtreecommitdiffstats
path: root/xlators/features/locks/src/locks.h
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/locks.h
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/locks.h')
-rw-r--r--xlators/features/locks/src/locks.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/features/locks/src/locks.h b/xlators/features/locks/src/locks.h
index ee684d5f8b5..b72cbe0a67b 100644
--- a/xlators/features/locks/src/locks.h
+++ b/xlators/features/locks/src/locks.h
@@ -169,7 +169,8 @@ typedef struct {
data_t *inodelk_dom_count_req;
dict_t *xdata;
- loc_t loc[2];
+ /* used by {f,}truncate */
+ loc_t loc;
fd_t *fd;
off_t offset;
enum {TRUNCATE, FTRUNCATE} op;