diff options
author | Boaz Harrosh <bharrosh@panasas.com> | 2007-12-14 01:14:27 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-01-30 20:03:40 +0100 |
commit | bb52d82f45df3a2661d88befba7c79a7db8be496 (patch) | |
tree | 875af65ede88fe724fb350e43000fe99262fec9f /drivers/scsi/sr.c | |
parent | [SCSI] aic7xxx: fix warnings with CONFIG_PM disabled (diff) | |
download | linux-bb52d82f45df3a2661d88befba7c79a7db8be496.tar.xz linux-bb52d82f45df3a2661d88befba7c79a7db8be496.zip |
[SCSI] tgt: use scsi_init_io instead of scsi_alloc_sgtable
If we export scsi_init_io()/scsi_release_buffers() instead of
scsi_{alloc,free}_sgtable() from scsi_lib than tgt code is much more
insulated from scsi_lib changes. As a bonus it will also gain bidi
capability when it comes.
[jejb: rebase on to sg_table and fix up rejections]
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Acked-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/sr.c')
0 files changed, 0 insertions, 0 deletions