summaryrefslogtreecommitdiff
path: root/libbcache/super_types.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2017-01-08 00:13:18 -0900
committerKent Overstreet <kent.overstreet@gmail.com>2017-01-20 09:07:08 -0900
commitb33fc8298f7e13226b9895abc57c9bfce5e3fa2d (patch)
treea3d2a5a909b6372f7777c1c5c18cef5f81d123a9 /libbcache/super_types.h
parent7f4191a202ea4558ca2d5eb8a47daea33c9999c7 (diff)
bcache in userspace; userspace fsck
Diffstat (limited to 'libbcache/super_types.h')
-rw-r--r--libbcache/super_types.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libbcache/super_types.h b/libbcache/super_types.h
new file mode 100644
index 00000000..d89f780f
--- /dev/null
+++ b/libbcache/super_types.h
@@ -0,0 +1,11 @@
+#ifndef _BCACHE_SUPER_TYPES_H
+#define _BCACHE_SUPER_TYPES_H
+
+struct bcache_superblock {
+ struct cache_sb *sb;
+ struct block_device *bdev;
+ struct bio *bio;
+ unsigned page_order;
+};
+
+#endif /* _BCACHE_SUPER_TYPES_H */