diff options
author | Mike Snitzer <snitzer@redhat.com> | 2018-03-12 20:30:43 -0400 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2018-03-13 15:09:56 -0400 |
commit | c37366742baa2bb3225be507d283baef151c5f8a (patch) | |
tree | 9526b900d1fe467562bf53d368703a2a3ee8450a /drivers/video | |
parent | 0c8efd610b58cb23cefdfa12015799079aef94ae (diff) | |
download | blackbird-obmc-linux-c37366742baa2bb3225be507d283baef151c5f8a.tar.gz blackbird-obmc-linux-c37366742baa2bb3225be507d283baef151c5f8a.zip |
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 <bart.vanassche@wdc.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions