diff --git a/scst/src/scst_lib.c b/scst/src/scst_lib.c index 1e0b603f3..e270cd592 100644 --- a/scst/src/scst_lib.c +++ b/scst/src/scst_lib.c @@ -4631,7 +4631,7 @@ static int scst_tgt_devs_cmds(struct list_head *tgt_dev_list) static void scst_wait_for_tgt_devs(struct list_head *tgt_dev_list) { while (scst_tgt_devs_cmds(tgt_dev_list) > 0) - mdelay(100); + msleep(100); } int scst_acg_del_lun(struct scst_acg *acg, uint64_t lun,