diff options
author | Poornima G <pgurusid@redhat.com> | 2017-03-26 07:59:53 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2017-03-26 20:56:19 -0400 |
commit | 98f602cd64e3f8cc7e4c4a7245e132c0afd7347f (patch) | |
tree | 408209c6dd82441f8ac06b89083952b62a322b98 /libglusterfs | |
parent | 31377765dbbb8d49292c4362837a695adcbc6cb4 (diff) |
protocol-client: Initialize the list_head before using
In client3_3_readdir(p)_cbk, in case of error conditions,
it is possible that the list_head is used before initializing.
Hence move the initialization before usage.
Change-Id: Ie58902d079fdc58416d17b5fa5f61375decb1c99
BUG: 1435943
Signed-off-by: Poornima G <pgurusid@redhat.com>
Reviewed-on: https://review.gluster.org/16948
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: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'libglusterfs')
0 files changed, 0 insertions, 0 deletions