scsi: core: Add scsi_device_busy() wrapper
[linux-2.6-block.git] / drivers / message / fusion / mptsas.c
index 5eb0b3361e4e0dfc50a74dd5df23b31a34a1706b..85aa5788826bca8d06af65593c8e0bf8e07b5163 100644 (file)
@@ -3781,7 +3781,7 @@ mptsas_send_link_status_event(struct fw_event_work *fw_event)
                                                printk(MYIOC_s_DEBUG_FMT
                                                "SDEV OUTSTANDING CMDS"
                                                "%d\n", ioc->name,
-                                               atomic_read(&sdev->device_busy)));
+                                               scsi_device_busy(sdev)));
                                }
 
                        }