summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2013-10-02 07:15:44 -0400
committerAnand Avati <avati@redhat.com>2013-10-09 18:57:18 -0700
commit19ae2464c0800965c18c35132b0b6c7fe09d5f68 (patch)
treef5e520cce48f63c73d4773aa3c1d62ab91c8facb /contrib
parentce9a704361c0a3638e46911eb5275c02e6a5d9ab (diff)
features/qemu-block: invoke bdrv_init() only once
bdrv_init() is intended to be invoked only once. If invoked again after initialization (i.e., due to graph changes), the block driver registration code can reinsert entries into bdrv_drivers, effectively corrupting the NULL terminated linked list. This manifests as an infinite loop for callers attempt to traverse the list (to locate a driver). BUG: 986775 Change-Id: I2f95bda3c753dece4648cdad009d0e2a2d16f644 Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-on: http://review.gluster.org/6021 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions