]> git.baikalelectronics.ru Git - 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)
commit2d84735a1079677bdc6ce98fb210a46c4c7a13b3
tree3e72e367d8d92b0bab50a965d4ce6c6ee94b994c
parent5380dcdc8f199efd849d3f0cc449d7588dd32166
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