summaryrefslogtreecommitdiffstats
path: root/block/bio.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-05-08 21:33:57 -0400
committerJens Axboe <axboe@kernel.dk>2018-05-14 13:16:15 -0600
commit1900fcc461c91a84392cd0f62381253e57c37b66 (patch)
tree1b743dbdc3deab8b095a26873d52edd0935ddbcd /block/bio.c
parent0ba99ca4838bc75481a4bf0e70bad20b0a5457c7 (diff)
downloadtalos-obmc-linux-1900fcc461c91a84392cd0f62381253e57c37b66.tar.gz
talos-obmc-linux-1900fcc461c91a84392cd0f62381253e57c37b66.zip
block: Export bio check/set pages_dirty
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bio.c')
-rw-r--r--block/bio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/block/bio.c b/block/bio.c
index d8bcc12d5aa4..0a4df92cd689 100644
--- a/block/bio.c
+++ b/block/bio.c
@@ -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)
OpenPOWER on IntegriCloud