diff options
Diffstat (limited to 'xlators/features/shard/src/shard.c')
-rw-r--r-- | xlators/features/shard/src/shard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/shard/src/shard.c b/xlators/features/shard/src/shard.c index b63236884d3..5ffeaa63628 100644 --- a/xlators/features/shard/src/shard.c +++ b/xlators/features/shard/src/shard.c @@ -5050,9 +5050,9 @@ shard_post_lookup_readv_handler(call_frame_t *frame, xlator_t *this) goto err; } + memset(iobuf->ptr, 0, local->total_size); iobuf_unref(iobuf); local->iobuf = iobuf; - memset(iobuf->ptr, 0, local->total_size); local->dot_shard_loc.inode = inode_find(this->itable, priv->dot_shard_gfid); if (!local->dot_shard_loc.inode) { |