diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-04-04 12:02:01 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-06-09 16:06:35 -0400 |
commit | 59d4f46773b8c5b365979db3f03df0a209fd9477 (patch) | |
tree | 087b1c67174d1b846edbd2dc50508e4cf704763d /include/linux/blkdev.h | |
parent | 4827c1c94710bcb818477780872ca4eb321735ae (diff) |
block: Add some exports for bcachefsblock-for-bcachefs
- bio_set_pages_dirty(), bio_check_pages_dirty() - dio path
- blk_status_to_str() - error messages
- bio_add_folio() - this should definitely be exported for everyone,
it's the modern version of bio_add_page()
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Cc: linux-block@vger.kernel.org
Cc: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r-- | include/linux/blkdev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index b2ac587e3402..c540b7d0614a 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -856,6 +856,7 @@ extern const char *blk_op_str(enum req_op op); int blk_status_to_errno(blk_status_t status); blk_status_t errno_to_blk_status(int errno); +const char *blk_status_to_str(blk_status_t status); /* only poll the hardware once, don't continue until a completion was found */ #define BLK_POLL_ONESHOT (1 << 0) |