Skip to content

Commit b120d18

Browse files
authored
Merge pull request #176 from yizhanglinux/block-037-fix
common/scsi_debug: Use _unload_module in _exit_scsi_debug
2 parents 283923d + 2acadb1 commit b120d18

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

common/scsi_debug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ _exit_scsi_debug() {
180180
udevadm settle
181181

182182
if _module_file_exists scsi_debug; then
183-
modprobe -r scsi_debug
183+
_unload_module scsi_debug 10
184184
return
185185
fi
186186

0 commit comments

Comments
 (0)