mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-01 10:45:49 +00:00
block: Export bio check/set pages_dirty
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
0ba99ca483
commit
1900fcc461
@ -1610,6 +1610,7 @@ void bio_set_pages_dirty(struct bio *bio)
|
||||
set_page_dirty_lock(page);
|
||||
}
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(bio_set_pages_dirty);
|
||||
|
||||
static void bio_release_pages(struct bio *bio)
|
||||
{
|
||||
@ -1693,6 +1694,7 @@ void bio_check_pages_dirty(struct bio *bio)
|
||||
bio_put(bio);
|
||||
}
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(bio_check_pages_dirty);
|
||||
|
||||
void generic_start_io_acct(struct request_queue *q, int rw,
|
||||
unsigned long sectors, struct hd_struct *part)
|
||||
|
Loading…
Reference in New Issue
Block a user