diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-10-04 16:22:31 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2019-10-04 16:22:37 -0400 |
commit | b540b170c9c277ffc5bdaf6b05e21c30f142dfc9 (patch) | |
tree | 5102655960f4f342386e9734afd219633300f9d2 /libbcachefs.c | |
parent | 7f69c4161c31b8f43723a9ccad1a9a358f4e2e70 (diff) |
Update bcachefs sources to cddca21efc bcachefs: Don't use sha256 for siphash str hash key
Diffstat (limited to 'libbcachefs.c')
-rw-r--r-- | libbcachefs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbcachefs.c b/libbcachefs.c index d56b987..7c9687d 100644 --- a/libbcachefs.c +++ b/libbcachefs.c @@ -240,6 +240,8 @@ struct bch_sb *bch2_format(struct bch_opt_strs fs_opt_strs, sb.sb->time_base_lo = cpu_to_le64(now.tv_sec * NSEC_PER_SEC + now.tv_nsec); sb.sb->time_precision = cpu_to_le32(1); + sb.sb->features[0] |= 1ULL << BCH_FEATURE_NEW_SIPHASH; + /* Member info: */ mi = bch2_sb_resize_members(&sb, (sizeof(*mi) + sizeof(struct bch_member) * |