fs: gfs2: fix build failure
Subsystems (2)
PATCH 1/1 fs: gfs2: fix build failure
There is one bio_for_each_segment_all() not converted, so fix it.
Reported-by kbuild test robot <[email protected]>
Fixes eb754eb2a953ead0 ("block: allow bio_for_each_segment_all() to iterate over multi-page bvec")
Cc Omar Sandoval <[email protected]>
Cc Christoph Hellwig <[email protected]>
Signed-off-by Ming Lei <[email protected]>
--- fs/gfs2/lops.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
fs/gfs2/lops.c +2 -1
@@ -390,8 +390,9 @@ static void gfs2_end_log_read(struct bio *bio)struct page *page;struct bio_vec *bvec;int i; +struct bvec_iter_all iter_all; -bio_for_each_segment_all (bvec, bio, i) { +bio_for_each_segment_all (bvec, bio, i, iter_all) { page = bvec->bv_page;if (bio->bi_status) {int err =blk_status_to_errno (bio->bi_status);
Signature · 1 line
2.14.4
Jens Axboe
maintainerQuoted 1 line · Ming Lei
There is one
bio_for_each_segment_all()not converted, so fix it.
Just pushed it out yesterday, I'll just fold this in.
Signature · 1 line
Jens Axboe