summaryrefslogtreecommitdiffstats
path: root/xlators/features/shard/src/shard.h
diff options
context:
space:
mode:
authorKrutika Dhananjay <kdhananj@redhat.com>2017-02-22 14:43:46 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2017-02-27 00:00:35 -0500
commita10bc7da360c95524cd79b30d364134f2368f348 (patch)
treeaf65b0adb7261fd5d153e67d736c8942d5857baa /xlators/features/shard/src/shard.h
parentd5dc766ae5489eaa7745c6784022140ac442d3de (diff)
features/shard: Put onus of choosing the inode to resolve on individual fops
Backport of: https://review.gluster.org/16709 ... as opposed to adding checks in "common" functions to choose the inode to resolve based local->fop, which is rather ugly and prone to errors. Change-Id: I84c5b26160150f2fd87e7f245190c500a4b36bd8 BUG: 1426512 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-on: https://review.gluster.org/16751 Smoke: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/features/shard/src/shard.h b/xlators/features/shard/src/shard.h
index 8303a2ca030..f626fae33c1 100644
--- a/xlators/features/shard/src/shard.h
+++ b/xlators/features/shard/src/shard.h
@@ -254,6 +254,7 @@ typedef struct shard_local {
fop_inodelk_cbk_t inodelk_cbk;
shard_lock_t *shard_lock;
} lock;
+ inode_t *resolver_base_inode;
} shard_local_t;
typedef struct shard_inode_ctx {