From: Kent Overstreet Date: Mon, 22 Dec 2014 11:48:42 +0000 (+0100) Subject: fs: use helper bio_add_page() instead of open coding on bi_io_vec X-Git-Tag: omap-for-v4.3/fixes-rc1~114^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cf66b4caf9c71f64a5486cadbd71ab58d0d4307;p=pandora-kernel.git fs: use helper bio_add_page() instead of open coding on bi_io_vec 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-fsdevel@vger.kernel.org Signed-off-by: Kent Overstreet [dpark: add more description in commit message] Signed-off-by: Dongsu Park Signed-off-by: Ming Lin Signed-off-by: Jens Axboe --- Reading git-diff-tree failed