aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2014-06-28 11:51:01 +0200
committerMister Oyster <oysterized@gmail.com>2017-07-04 11:51:14 +0200
commit1c995c96a7852588092340e75a633e09d3269218 (patch)
treeca9619a28768699b9015a5f8d54aeaa4a4c19129 /scripts
parentd1501eff4d85dcd387468342e467ed84793414b6 (diff)
scsi: move the nr_phys_segments assert into scsi_init_io
commit 635d98b1d0cfc2ba3426a701725d31a6102c059a upstream. 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> Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions