block: convert to bio_first_bvec_all & bio_first_page_all
authorMing Lei <ming.lei@redhat.com>
Mon, 18 Dec 2017 12:22:04 +0000 (20:22 +0800)
committerJens Axboe <axboe@kernel.dk>
Sat, 6 Jan 2018 16:18:00 +0000 (09:18 -0700)
commit263663cd3c4fbfc40cb7504c4be2dadbc0992cc1
tree6a22bd3907dd38d8a7c57862311ca4deff521064
parent86292abc5af206f64192a0b60da06fd604debdc0
block: convert to bio_first_bvec_all & bio_first_page_all

This patch converts to bio_first_bvec_all() & bio_first_page_all() for
retrieving the 1st bvec/page, and prepares for supporting multipage bvec.

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/drbd/drbd_bitmap.c
drivers/block/zram/zram_drv.c
drivers/md/bcache/super.c
fs/btrfs/compression.c
fs/btrfs/inode.c
fs/f2fs/data.c
kernel/power/swap.c
mm/page_io.c