diff options
| author | Mike Snitzer <[email protected]> | 2018-03-13 00:30:43 +0000 |
|---|---|---|
| committer | Mike Snitzer <[email protected]> | 2018-03-13 19:09:56 +0000 |
| commit | c37366742baa2bb3225be507d283baef151c5f8a (patch) | |
| tree | 9526b900d1fe467562bf53d368703a2a3ee8450a /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | Linux 4.16-rc5 (diff) | |
| download | kernel-c37366742baa2bb3225be507d283baef151c5f8a.tar.gz kernel-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 <[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
