summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sg.c
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2008-12-18 14:49:36 +0900
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-01-02 11:09:41 -0600
commite623ddb4e940b266adc77ba1cc28a3554aa90e79 (patch)
tree62c245b32720573d97718795b0c8165cad967b05 /drivers/scsi/sg.c
parent4f10aae0d1a285df6b16bf6ca5abd366140fd371 (diff)
downloadop-kernel-dev-e623ddb4e940b266adc77ba1cc28a3554aa90e79.zip
op-kernel-dev-e623ddb4e940b266adc77ba1cc28a3554aa90e79.tar.gz
[SCSI] block: fix bio_add_page misuse with rq_map_data
This fixes bio_add_page misuse in bio_copy_user_iov with rq_map_data, which only sg uses now. rq_map_data carries page frames for bio_add_pc_page. bio_copy_user_iov uses bio_add_pc_page with a larger size than PAGE_SIZE. It's clearly wrong. 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>
Diffstat (limited to 'drivers/scsi/sg.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud