summaryrefslogtreecommitdiff
path: root/libbcache/io_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'libbcache/io_types.h')
-rw-r--r--libbcache/io_types.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libbcache/io_types.h b/libbcache/io_types.h
index 64269d94..3d096876 100644
--- a/libbcache/io_types.h
+++ b/libbcache/io_types.h
@@ -46,7 +46,7 @@ struct bch_read_bio {
struct bversion version;
struct bch_extent_crc128 crc;
struct bch_extent_ptr ptr;
- struct cache *ca;
+ struct bch_dev *ca;
struct cache_promote_op *promote;
@@ -63,8 +63,8 @@ bch_rbio_parent(struct bch_read_bio *rbio)
}
struct bch_write_bio {
- struct cache_set *c;
- struct cache *ca;
+ struct bch_fs *c;
+ struct bch_dev *ca;
union {
struct bio *orig;
struct closure *cl;
@@ -93,7 +93,7 @@ struct bch_replace_info {
struct bch_write_op {
struct closure cl;
- struct cache_set *c;
+ struct bch_fs *c;
struct workqueue_struct *io_wq;
struct bch_write_bio *bio;
@@ -143,7 +143,7 @@ struct bch_write_op {
};
struct bio_decompress_worker {
- struct cache_set *c;
+ struct bch_fs *c;
struct work_struct work;
struct llist_head bio_list;
};