summaryrefslogtreecommitdiffstats
path: root/xlators/features/shard/src/shard.h
diff options
context:
space:
mode:
authorKrutika Dhananjay <kdhananj@redhat.com>2015-08-10 19:10:21 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2015-08-19 02:15:04 -0700
commit470a50b1d5017f015a1f3f3ea65a33902a02ffea (patch)
tree4627307c0ce2c5d15da3d6655b5d2ead48166dc1 /xlators/features/shard/src/shard.h
parenta4bbb71e91744ed387606dd4eb5bee55cf86b079 (diff)
features/shard: Ensure shards are owned by the same owner/group as the original file
Change-Id: Id759af8f3ff5fd8bfa9f8121bab25722709d42b7 BUG: 1251824 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-on: http://review.gluster.org/11874 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'xlators/features/shard/src/shard.h')
-rw-r--r--xlators/features/shard/src/shard.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/features/shard/src/shard.h b/xlators/features/shard/src/shard.h
index 2e2b3abd593..61255cd4936 100644
--- a/xlators/features/shard/src/shard.h
+++ b/xlators/features/shard/src/shard.h
@@ -144,9 +144,12 @@ typedef struct shard_local {
int num_blocks;
int call_count;
int eexist_count;
+ int create_count;
int xflag;
int count;
uint32_t flags;
+ uint32_t uid;
+ uint32_t gid;
uint64_t block_size;
uint64_t dst_block_size;
off_t offset;