]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita8c9311e6d35d953333abd733b03eb826a92d4e2
tree67273c4ef20f233c77023131c5e1eac6831d4f39
parent87ca79f5d7d2f8527216440e4d9c0f390794bbe2
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