From 45fd88076c6ba10a6d2552e87e8a2658ac228d92 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Thu, 5 Feb 2009 18:23:28 +0000 Subject: [PATCH] - Fix typo in scst_rx_mgmt_fn_tag() call for task abort - Cosmetics git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@664 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst_local/scst_local.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scst_local/scst_local.c b/scst_local/scst_local.c index aa5c74153..a9e10fda0 100644 --- a/scst_local/scst_local.c +++ b/scst_local/scst_local.c @@ -277,7 +277,7 @@ static const char *scst_local_info(struct Scsi_Host *shp) return scst_local_info_buf; } -/* +#if 0 static int scst_local_ioctl(struct scsi_device *dev, int cmd, void __user *arg) { TRACE_ENTRY(); @@ -288,7 +288,7 @@ static int scst_local_ioctl(struct scsi_device *dev, int cmd, void __user *arg) TRACE_EXIT(); } -*/ +#endif static int scst_local_abort(struct scsi_cmnd *SCpnt) { @@ -301,7 +301,7 @@ static int scst_local_abort(struct scsi_cmnd *SCpnt) scst_lcl_host = to_scst_lcl_host(scsi_get_device(SCpnt->device->host)); ret = scst_rx_mgmt_fn_tag(scst_lcl_host->session[SCpnt->device->id], - SCST_LUN_RESET, SCpnt->tag, FALSE, + SCST_ABORT_TASK, SCpnt->tag, FALSE, &dev_reset_completion); wait_for_completion_interruptible(&dev_reset_completion);