diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2017-12-15 12:57:40 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2017-12-15 12:57:40 -0500 |
commit | 5053c6ed2521ec83bde641f6dba21d7efa4a81ec (patch) | |
tree | 20458e679a55c5f2b870d938564a43c6a1e14840 /libbcachefs.h | |
parent | ea83a3985d28372d56ec7cea6e73907551869f63 (diff) |
fix default checksum types
Diffstat (limited to 'libbcachefs.h')
-rw-r--r-- | libbcachefs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbcachefs.h b/libbcachefs.h index 2e49edd..836cb7a 100644 --- a/libbcachefs.h +++ b/libbcachefs.h @@ -37,8 +37,8 @@ static inline struct format_opts format_opts_default() return (struct format_opts) { .on_error_action = BCH_ON_ERROR_RO, .encoded_extent_max = 128, - .meta_csum_type = BCH_CSUM_CRC32C, - .data_csum_type = BCH_CSUM_CRC32C, + .meta_csum_type = BCH_CSUM_OPT_CRC32C, + .data_csum_type = BCH_CSUM_OPT_CRC32C, .meta_replicas = 1, .data_replicas = 1, .meta_replicas_required = 1, |