Re: [PATCH v3 04/49] mm: page_io.c: comment on direct access to bvec table

2017-08-10 Thread Christoph Hellwig
Can we just add a bio_first_page macro that always return the first page in the bio?

[PATCH v3 04/49] mm: page_io.c: comment on direct access to bvec table

2017-08-08 Thread Ming Lei
Cc: Andrew Morton Cc: linux...@kvack.org Signed-off-by: Ming Lei --- mm/page_io.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mm/page_io.c b/mm/page_io.c index b6c4ac388209..11c6f4a9a25b 100644 --- a/mm/page_io.c +++ b/mm/page_io.c @@ -43,6 +43,7 @@ static struct bio *get_swap_bio(gfp_