Commit 1d68a36
committed
common/scsi_debug: use _patient_rmmod() to unload scsi_debug
The helper _have_scsi_debug_group_number_stats() loads and unloads
scsi_debug to check parameters of scsi_debug. However, the unload is too
soon after the load, then it often fails. To avoid such unload failures,
use _patient_rmmod() to unload scsi_debug.
Reported-by: Yi Zhang <[email protected]>
Closes: #241
[Shin'ichro: removed /dev/null redirect per suggestion by Bart]
Signed-off-by: Shin'ichiro Kawasaki <[email protected]>1 parent 255189f commit 1d68a36
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
0 commit comments