[PATCH v5 09/11] fs: use helper bio_add_page() instead of open coding on bi_io_vec

2015-07-06 Thread Ming Lin
From: Kent Overstreet Call pre-defined helper bio_add_page() instead of open coding for iterating through bi_io_vec[]. Doing that, it's possible to make some parts in filesystems and mm/page_io.c simpler than before. Acked-by: Dave Kleikamp Cc: Christoph Hellwig Cc: Al Viro Cc: linux-fsde...@

[PATCH v5 09/11] fs: use helper bio_add_page() instead of open coding on bi_io_vec

2015-07-06 Thread mlin
From: Kent Overstreet Call pre-defined helper bio_add_page() instead of open coding for iterating through bi_io_vec[]. Doing that, it's possible to make some parts in filesystems and mm/page_io.c simpler than before. Acked-by: Dave Kleikamp Cc: Christoph Hellwig Cc: Al Viro Cc: linux-fsde...@