summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
Diffstat (limited to 'xlators')
-rw-r--r--xlators/features/shard/src/shard.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/xlators/features/shard/src/shard.c b/xlators/features/shard/src/shard.c
index da95b92ecd9..6f3acdd40bd 100644
--- a/xlators/features/shard/src/shard.c
+++ b/xlators/features/shard/src/shard.c
@@ -2483,11 +2483,13 @@ shard_post_mknod_readv_handler (call_frame_t *frame, xlator_t *this)
return 0;
}
- if (!local->eexist_count)
+ if (!local->eexist_count) {
shard_readv_do (frame, this);
- else
+ } else {
+ local->call_count = local->eexist_count;
shard_common_lookup_shards (frame, this, local->loc.inode,
shard_post_lookup_shards_readv_handler);
+ }
return 0;
}