diff options
Diffstat (limited to 'fs/bcachefs/str_hash.h')
-rw-r--r-- | fs/bcachefs/str_hash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/str_hash.h b/fs/bcachefs/str_hash.h index 7be4a8e50eaa..3870df2d58ce 100644 --- a/fs/bcachefs/str_hash.h +++ b/fs/bcachefs/str_hash.h @@ -23,7 +23,7 @@ bch2_str_hash_opt_to_type(struct bch_fs *c, enum bch_str_hash_opts opt) case BCH_STR_HASH_OPT_CRC64: return BCH_STR_HASH_CRC64; case BCH_STR_HASH_OPT_SIPHASH: - return c->sb.features & (1ULL << BCH_FEATURE_NEW_SIPHASH) + return c->sb.features & (1ULL << BCH_FEATURE_new_siphash) ? BCH_STR_HASH_SIPHASH : BCH_STR_HASH_SIPHASH_OLD; default: |