From 470a50b1d5017f015a1f3f3ea65a33902a02ffea Mon Sep 17 00:00:00 2001 From: Krutika Dhananjay Date: Mon, 10 Aug 2015 19:10:21 +0530 Subject: 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 Reviewed-on: http://review.gluster.org/11874 Tested-by: NetBSD Build System Tested-by: Gluster Build System Reviewed-by: Pranith Kumar Karampuri --- xlators/features/shard/src/shard.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xlators/features/shard/src/shard.h') 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; -- cgit