summaryrefslogtreecommitdiffstats
path: root/include/scsi/scsi_driver.h
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@steeleye.com>2007-08-03 16:41:11 -0500
committerJames Bottomley <jejb@mulgrave.localdomain>2007-08-04 08:37:04 -0500
commit03a5743a12b58e10eaa936a02498539db645ba4e (patch)
treedd3d80da57e3efd26a60f4d369224b41b7008947 /include/scsi/scsi_driver.h
parent66dbfbe6fde35c881deda5cebb6ecaa0dcc1c975 (diff)
downloadop-kernel-dev-03a5743a12b58e10eaa936a02498539db645ba4e.zip
op-kernel-dev-03a5743a12b58e10eaa936a02498539db645ba4e.tar.gz
[SCSI] sd: disentangle barriers in SCSI
Our current implementation has a generic set of barrier functions that go through the SCSI driver model. Realistically, this is unnecessary, because the only device that can use barriers (sd) can set the flush functions up at probe or revalidate time. This patch pulls the barrier functions out of the mid layer and scsi driver model and relocates them directly in sd. Acked-by: Tejun Heo <htejun@gmail.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include/scsi/scsi_driver.h')
-rw-r--r--include/scsi/scsi_driver.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/scsi/scsi_driver.h b/include/scsi/scsi_driver.h
index 02e26c1..3465f31 100644
--- a/include/scsi/scsi_driver.h
+++ b/include/scsi/scsi_driver.h
@@ -13,8 +13,6 @@ struct scsi_driver {
int (*init_command)(struct scsi_cmnd *);
void (*rescan)(struct device *);
- int (*issue_flush)(struct device *, sector_t *);
- int (*prepare_flush)(struct request_queue *, struct request *);
};
#define to_scsi_driver(drv) \
container_of((drv), struct scsi_driver, gendrv)
OpenPOWER on IntegriCloud