diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-03-17 21:35:51 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:28 -0400 |
commit | 3a306f3c2c303febffefea4caf09b2326107507a (patch) | |
tree | 7b8c5fdb8a809a2c57733893b46c2c5a55a7ac3b /fs/bcachefs/opts.c | |
parent | f8494d253534d3c49e80a483b74469bbeb01367f (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