summaryrefslogtreecommitdiffstats
path: root/xlators/features/locks/src/locks.h
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2015-05-19 20:53:30 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2015-05-27 03:22:43 -0700
commitd37cb5aee7af8582d0343d2732c153226955945d (patch)
treeefad4a21e32d3d518138bf96ee61e8fa34e995ab /xlators/features/locks/src/locks.h
parentd1ff9dead1f26151f89d154fab8252437601d22f (diff)
features/locks: Handle virtual getxattrs in more fops
With this patch getxattr of inodelk/entrylk counts can be requested in readv/writev/create/unlink/opendir. Change-Id: If7430317ad478a3c753eb33bdf89046cb001a904 BUG: 1165041 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/10880 Tested-by: NetBSD Build System Reviewed-by: Krutika Dhananjay <kdhananj@redhat.com>
Diffstat (limited to 'xlators/features/locks/src/locks.h')
-rw-r--r--xlators/features/locks/src/locks.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/features/locks/src/locks.h b/xlators/features/locks/src/locks.h
index f761b3d4a00..b72cbe0a67b 100644
--- a/xlators/features/locks/src/locks.h
+++ b/xlators/features/locks/src/locks.h
@@ -164,15 +164,15 @@ typedef struct {
typedef struct {
gf_boolean_t entrylk_count_req;
gf_boolean_t inodelk_count_req;
- gf_boolean_t inodelk_dom_count_req;
gf_boolean_t posixlk_count_req;
gf_boolean_t parent_entrylk_req;
+ data_t *inodelk_dom_count_req;
+ dict_t *xdata;
/* used by {f,}truncate */
loc_t loc;
fd_t *fd;
off_t offset;
- dict_t *xdata;
enum {TRUNCATE, FTRUNCATE} op;
} pl_local_t;