aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorMike Snitzer <[email protected]>2018-03-12 20:30:43 -0400
committerMike Snitzer <[email protected]>2018-03-13 15:09:56 -0400
commitc37366742baa2bb3225be507d283baef151c5f8a (patch)
tree9526b900d1fe467562bf53d368703a2a3ee8450a /scripts/gcc-plugins/randomize_layout_plugin.c
parent0c8efd610b58cb23cefdfa12015799079aef94ae (diff)
dm mpath: fix uninitialized 'pg_init_wait' waitqueue_head NULL pointer
Initialize all the scsi_dh related 'struct multipath' members regardless of whether a scsi_dh is in use or not. The subtle (and fragile) SCSI-assuming legacy code clearly needs further decoupling from non-SCSI (and/or developer understanding). Fixes: 8d47e65948dd ("dm mpath: remove unnecessary NVMe branching in favor of scsi_dh checks") Reported-by: Bart Van Assche <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions