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 97e37bbe83c8..2a61cc36ddbf 100644 --- a/fs/bcachefs/str_hash.h +++ b/fs/bcachefs/str_hash.h @@ -135,7 +135,7 @@ static inline u64 bch2_str_hash_end(struct bch_str_hash_ctx *ctx, bool maybe_31bit) { return __bch2_str_hash_end(ctx, info) & - (maybe_31bit && info->is_31bit ? INT_MAX : 0); + (maybe_31bit && info->is_31bit ? INT_MAX : U64_MAX); } struct bch_hash_desc { |