Commit 1900fcc4 authored by Kent Overstreet's avatar Kent Overstreet Committed by Jens Axboe

block: Export bio check/set pages_dirty

Signed-off-by: default avatarKent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment