提交 1900fcc4 编写于 作者: K Kent Overstreet 提交者: Jens Axboe

block: Export bio check/set pages_dirty

Signed-off-by: NKent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: NJens Axboe <axboe@kernel.dk>
上级 0ba99ca4
...@@ -1610,6 +1610,7 @@ void bio_set_pages_dirty(struct bio *bio) ...@@ -1610,6 +1610,7 @@ void bio_set_pages_dirty(struct bio *bio)
set_page_dirty_lock(page); set_page_dirty_lock(page);
} }
} }
EXPORT_SYMBOL_GPL(bio_set_pages_dirty);
static void bio_release_pages(struct bio *bio) static void bio_release_pages(struct bio *bio)
{ {
...@@ -1693,6 +1694,7 @@ void bio_check_pages_dirty(struct bio *bio) ...@@ -1693,6 +1694,7 @@ void bio_check_pages_dirty(struct bio *bio)
bio_put(bio); bio_put(bio);
} }
} }
EXPORT_SYMBOL_GPL(bio_check_pages_dirty);
void generic_start_io_acct(struct request_queue *q, int rw, void generic_start_io_acct(struct request_queue *q, int rw,
unsigned long sectors, struct hd_struct *part) unsigned long sectors, struct hd_struct *part)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册