summaryrefslogtreecommitdiff
path: root/fs/bcachefs/opts.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-03-17 21:35:51 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:28 -0400
commit3a306f3c2c303febffefea4caf09b2326107507a (patch)
tree7b8c5fdb8a809a2c57733893b46c2c5a55a7ac3b /fs/bcachefs/opts.c
parentf8494d253534d3c49e80a483b74469bbeb01367f (diff)
bcachefs: Fix large key cache keys
Previously, we'd go into an infinite loop when attempting to cache a bkey in the key cache larger than 128 u64s - since we were only using a u8 for the size field, it'd get rounded up to 256 then truncated to 0. Oops. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/opts.c')
0 files changed, 0 insertions, 0 deletions