summaryrefslogtreecommitdiff
path: root/include/scsi
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-08-27 14:16:58 +0200
committerJames Bottomley <JBottomley@Odin.com>2015-08-28 13:14:56 -0700
commitd95dbff2a41e934cd8789734b34dc591e78ba11c (patch)
treeca293978ae9c923ba143a5c1d00aba07616a8ef1 /include/scsi
parent086b91d052ebe4ead5d28021afe3bdfd70af15bf (diff)
downloadlwn-d95dbff2a41e934cd8789734b34dc591e78ba11c.tar.gz
lwn-d95dbff2a41e934cd8789734b34dc591e78ba11c.zip
scsi_dh: move device matching to the core code
Add a single list of devices that need non-ALUA device handlers to the core scsi_dh code so that we can autoload the modules for them at probe time. While this is a little ugly in terms of architecture it actually significantly simplifies the code in addition to the new autoloading functionality. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Acked-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/scsi_device.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/scsi/scsi_device.h b/include/scsi/scsi_device.h
index 798d67994aeb..4d501b7baa9b 100644
--- a/include/scsi/scsi_device.h
+++ b/include/scsi/scsi_device.h
@@ -215,7 +215,6 @@ struct scsi_device_handler {
int (*activate)(struct scsi_device *, activate_complete, void *);
int (*prep_fn)(struct scsi_device *, struct request *);
int (*set_params)(struct scsi_device *, const char *);
- bool (*match)(struct scsi_device *);
};
struct scsi_dh_data {