Skip to content
Commit 74f3931a authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix additional misalignment in journal space calculations



Additional fix on top of

f54b2a80 bcachefs: Fix misaligned bucket check in journal space calculations

Make sure that when we calculate space for the next entry it's not
misaligned: we need to round_down() to filesystem block size in multiple
places (next entry size calculation as well as total space available).

Reported-by: default avatarOndřej Kraus <neverberlerfellerer@gmail.com>
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 7de3c8b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment