summaryrefslogtreecommitdiff
path: root/libbcachefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs.h')
-rw-r--r--libbcachefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs.h b/libbcachefs.h
index ba5d3807..6322d55e 100644
--- a/libbcachefs.h
+++ b/libbcachefs.h
@@ -52,7 +52,7 @@ static inline struct format_opts format_opts_default()
}
struct dev_opts {
- int fd;
+ struct block_device *bdev;
char *path;
u64 size; /* bytes*/
u64 bucket_size; /* bytes */