]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
block: Add gfp_mask parameter to bio_integrity_clone()
authorun'ichi Nomura <j-nomura@ce.jp.nec.com>
Mon, 9 Mar 2009 09:40:52 +0000 (10:40 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Sat, 14 Mar 2009 20:06:51 +0000 (21:06 +0100)
commit87092698c665e0a358caf9825ae13114343027e8
tree4003d12a76e1cd5b50d275a0aef536d4a86d0092
parent041b62374c7fedc11a8a1eeda2868612d3d1436c
block: Add gfp_mask parameter to bio_integrity_clone()

Stricter gfp_mask might be required for clone allocation.
For example, request-based dm may clone bio in interrupt context
so it has to use GFP_ATOMIC.

Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Cc: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/bio-integrity.c
fs/bio.c
include/linux/bio.h