]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
block: add gfp_mask argument to blk_rq_map_user and blk_rq_map_user_iov
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Thu, 28 Aug 2008 07:17:05 +0000 (16:17 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:10 +0000 (08:56 +0200)
commita3bce90edd8f6cafe3f63b1a943800792e830178
treec07a2962987e57997b4ff6f6c63febe1feaa0a9c
parent45333d5a31296d0af886d94f1d08f128231cab8e
block: add gfp_mask argument to blk_rq_map_user and blk_rq_map_user_iov

Currently, blk_rq_map_user and blk_rq_map_user_iov always do
GFP_KERNEL allocation.

This adds gfp_mask argument to blk_rq_map_user and blk_rq_map_user_iov
so sg can use it (sg always does GFP_ATOMIC allocation).

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Douglas Gilbert <dougg@torque.net>
Cc: Mike Christie <michaelc@cs.wisc.edu>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-map.c
block/bsg.c
block/scsi_ioctl.c
drivers/cdrom/cdrom.c
drivers/scsi/scsi_tgt_lib.c
fs/bio.c
include/linux/bio.h
include/linux/blkdev.h