Project import generated by Copybara.

GitOrigin-RevId: 91a1e7064e2e3b9bfdc6e2724a534075234f657d
Change-Id: I3fe4240027f35a4be7a4ed2c05038147f5ec2cb3
diff --git a/scst/scst/src/scst_lib.c b/scst/scst/src/scst_lib.c
index 3a4a3db..bf7d266 100644
--- a/scst/scst/src/scst_lib.c
+++ b/scst/scst/src/scst_lib.c
@@ -4631,7 +4631,7 @@
 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,