diff options
author | 2014-09-13 19:59:51 -0700 | |
---|---|---|
committer | 2014-11-12 11:19:25 +0100 | |
commit | cd37743fc978a14fee75a4e662582e15d16038a3 (patch) | |
tree | 7b050076efb8a9dbf263ce593f30823445fb672a /include/scsi | |
parent | scsi_dh: get module reference outside of device handler (diff) | |
download | linux-cd37743fc978a14fee75a4e662582e15d16038a3.tar.gz linux-cd37743fc978a14fee75a4e662582e15d16038a3.tar.bz2 linux-cd37743fc978a14fee75a4e662582e15d16038a3.zip |
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>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/scsi_device.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/scsi/scsi_device.h b/include/scsi/scsi_device.h index 0b18a097c1ba..04cd5ad8289e 100644 --- a/include/scsi/scsi_device.h +++ b/include/scsi/scsi_device.h @@ -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) \ |