block: Add bio_alloc_pages()
authorKent Overstreet <koverstreet@google.com>
Mon, 10 Sep 2012 21:03:28 +0000 (14:03 -0700)
committerKent Overstreet <koverstreet@google.com>
Sat, 23 Mar 2013 21:26:31 +0000 (14:26 -0700)
commita07876064a0b73ab5ef1ebcf14b1cf0231c07858
tree74a0567401bcdb60f5a8e65c76d5a3a21aeb548f
parentcb34e057ad22a1c2c6f2cb6cd1cbd05cc2f28f28
block: Add bio_alloc_pages()

More utility code to replace stuff that's getting open coded.

Signed-off-by: Kent Overstreet <koverstreet@google.com>
CC: Jens Axboe <axboe@kernel.dk>
CC: NeilBrown <neilb@suse.de>
drivers/md/raid1.c
fs/bio.c
include/linux/bio.h