scsi: use container_of to get at device handler private data
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Reviewed-by: Hannes Reinecke <hare@suse.de>
This commit is contained in:
@@ -228,7 +228,6 @@ struct scsi_dh_data {
|
||||
struct scsi_device_handler *scsi_dh;
|
||||
struct scsi_device *sdev;
|
||||
struct kref kref;
|
||||
char buf[0];
|
||||
};
|
||||
|
||||
#define to_scsi_device(d) \
|
||||
|
Reference in New Issue
Block a user