[SCSI] scsi_lib: add scatter/gather data buffer accessors
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Sat, 26 May 2007 05:04:03 +0000 (14:04 +0900)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 26 May 2007 21:29:59 +0000 (16:29 -0500)
commit824d7b570b4dec49e868c251d670941b02a1e489
tree1590c87323c9f9235945ba03627fd1ce0b731a1f
parent9ef3e4a4527e1f65b8776287c6d4fd1fca5ba98f
[SCSI] scsi_lib: add scatter/gather data buffer accessors

This adds a set of accessors for the scsi data buffer. This is in
preparation for chaining sg lists and bidirectional requests (and
possibly, the mid-layer dma mapping).

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_lib.c
include/scsi/scsi_cmnd.h