block: bio_set_pages_dirty can't see NULL bv_page in a valid bio_vec
authorChristoph Hellwig <hch@lst.de>
Tue, 24 Jul 2018 12:04:13 +0000 (14:04 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 24 Jul 2018 20:39:28 +0000 (14:39 -0600)
commit3bb5098310317ca62304bd21af6ccea57d799b06
tree67273c4ef20f233c77023131c5e1eac6831d4f39
parent24d5493f207ce0ce38df80ce86c907417e04594a
block: bio_set_pages_dirty can't see NULL bv_page in a valid bio_vec

So don't bother handling it.

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