summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-rebalance.c
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2010-10-12 03:54:31 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-10-12 03:04:05 -0700
commitb9d6e0c879feb9d86cdadf4072a7ebeb5eb29798 (patch)
treedfeda2fd13ce9669d4da5804916d01e5da6ccefb /xlators/mgmt/glusterd/src/glusterd-rebalance.c
parenta6304aec8c366ad7853f95348aa6c73a0b873678 (diff)
rpc-transport/socket: initialize fragcurrent pointer in correct state while reading vectored replies.
- If fragcurrent is initialized in the same state which reads payload data, there is a possibility of it getting reset during partial reads from socket. Hence it should be initialized just before entering the state which reads payload data. Signed-off-by: Raghavendra G <raghavendra@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1929 (different value is logged for read header size for multiple reads) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1929
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-rebalance.c')
0 files changed, 0 insertions, 0 deletions