fs: logfs: use bio_add_page() in __bdev_writeseg()
authorMing Lei <tom.leiming@gmail.com>
Fri, 11 Nov 2016 12:05:38 +0000 (20:05 +0800)
committerJens Axboe <axboe@fb.com>
Tue, 22 Nov 2016 15:57:55 +0000 (08:57 -0700)
commitd4f98a89f9cdc42926fadb49ed6652c5da20fb54
treef9cda5c1f2af1e541e13fc63c53f0e4fbb2bf2bf
parent739a9975468cc64b346da4d40c0a2e61b1f69af0
fs: logfs: use bio_add_page() in __bdev_writeseg()

Also this patch simplify the code a bit.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
fs/logfs/dev_bdev.c