diff options
Diffstat (limited to 'libbcachefs.h')
-rw-r--r-- | libbcachefs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbcachefs.h b/libbcachefs.h index 6ae24e9f..abc25ba0 100644 --- a/libbcachefs.h +++ b/libbcachefs.h @@ -30,6 +30,7 @@ void bch2_opts_usage(unsigned); struct format_opts { char *label; uuid_le uuid; + unsigned version; unsigned encoded_extent_max; @@ -40,6 +41,7 @@ struct format_opts { static inline struct format_opts format_opts_default() { return (struct format_opts) { + .version = bcachefs_metadata_version_current, .encoded_extent_max = 128, }; } |