diff options
author | Christoph Hellwig <hch@lst.de> | 2014-06-28 11:51:01 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-07-17 22:10:53 +0200 |
commit | 635d98b1d0cfc2ba3426a701725d31a6102c059a (patch) | |
tree | 2a553dbd044567d3c76a3864dacf1bea62159358 /include/scsi/scsi_driver.h | |
parent | e6c11dbb8da81c599ca09ef2f6311220e068acd8 (diff) | |
download | talos-op-linux-635d98b1d0cfc2ba3426a701725d31a6102c059a.tar.gz talos-op-linux-635d98b1d0cfc2ba3426a701725d31a6102c059a.zip |
scsi: move the nr_phys_segments assert into scsi_init_io
scsi_init_io should only be called for requests that transfer data,
so move the assert that a request has segments from the callers into
scsi_init_io.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Diffstat (limited to 'include/scsi/scsi_driver.h')
0 files changed, 0 insertions, 0 deletions