]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
block: cleanup bio_add_pc_page
authorMing Lei <ming.lei@redhat.com>
Sun, 17 Mar 2019 10:01:06 +0000 (18:01 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 1 Apr 2019 18:11:25 +0000 (12:11 -0600)
commit5a8ce240d4d302d27a58fd34499b2404b3a8df4f
tree3e72e367d8d92b0bab50a965d4ce6c6ee94b994c
parentfd7d8d4232f08b0df623d9ea7e941f0350a26e14
block: cleanup bio_add_pc_page

REQ_PC is out of date, so replace it with passthrough IO.

Also remove the local variable of 'prev' since we can reuse
the top local variable of 'bvec'.

No function change.

Cc: Omar Sandoval <osandov@fb.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c