]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] block: make blk_rq_map_user take a NULL user-space buffer for WRITE
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Thu, 18 Dec 2008 05:49:38 +0000 (14:49 +0900)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 2 Jan 2009 17:10:35 +0000 (11:10 -0600)
commit97ae77a1cd332c7b011d71315c8faabce6840c72
treefc243ca28ea474eaf81729079eeb3b259cd1b81b
parent56c451f4b583ccdf80c9e676179c9cb49de86745
[SCSI] block: make blk_rq_map_user take a NULL user-space buffer for WRITE

The commit 818827669d85b84241696ffef2de485db46b0b5e (block: make
blk_rq_map_user take a NULL user-space buffer) extended
blk_rq_map_user to accept a NULL user-space buffer with a READ
command. It was necessary to convert sg to use the block layer mapping
API.

This patch extends blk_rq_map_user again for a WRITE command. It is
necessary to convert st and osst drivers to use the block layer
apping API.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
block/blk-map.c
drivers/scsi/sg.c
fs/bio.c
include/linux/blkdev.h