git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6c11db
)
scsi: move the nr_phys_segments assert into scsi_init_io
author
Christoph Hellwig
<hch@lst.de>
Sat, 28 Jun 2014 09:51:01 +0000
(11:51 +0200)
committer
Christoph Hellwig
<hch@lst.de>
Thu, 17 Jul 2014 20:10:53 +0000
(22:10 +0200)
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>
drivers/scsi/scsi_lib.c
patch
|
blob
|
history
diff --cc
drivers/scsi/scsi_lib.c
Simple merge