diff options
author | Krutika Dhananjay <kdhananj@redhat.com> | 2017-04-10 11:04:31 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2017-04-11 09:32:19 -0400 |
commit | 594a7c6a187cf780bd666e7343c39a2d92fc67ef (patch) | |
tree | 63496722424b33c815c38ada1c15bc8c744a0b6f | |
parent | fddf202af078f09cf443fe76f8f43ad8eda2b4b6 (diff) |
features/shard: Initialize local->fop in readv
Change-Id: I9008ca9960df4821636501ae84f93a68f370c67f
BUG: 1440051
Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
Reviewed-on: https://review.gluster.org/17014
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Smoke: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
-rw-r--r-- | xlators/features/shard/src/shard.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/features/shard/src/shard.c b/xlators/features/shard/src/shard.c index e35bec7d1a3..a48806c6a8b 100644 --- a/xlators/features/shard/src/shard.c +++ b/xlators/features/shard/src/shard.c @@ -3593,6 +3593,7 @@ shard_readv (call_frame_t *frame, xlator_t *this, fd_t *fd, size_t size, local->offset = offset; local->req_size = size; local->flags = flags; + local->fop = GF_FOP_READ; local->xattr_req = (xdata) ? dict_ref (xdata) : dict_new (); if (!local->xattr_req) goto err; |