diff options
author | Steinar H. Gunderson <steinar+git@gunderson.no> | 2024-01-12 18:56:49 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-12 13:09:51 -0500 |
commit | b6afe1bed4fe47bc4e820ab17cbe8161a3b62c8e (patch) | |
tree | 906405a574cab627041e0d126089e7dc2a5e1204 /rust-src | |
parent | 2b7fda5aeeecc9f9575536d401395e4a9ecaaf26 (diff) |
init_layout(): fix rounding
block_size is in bytes, not sectors, so when calling round_up(),
we could start rounding up by a way too large size and then overflow
outside the area that migrate allocated for us.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'rust-src')
0 files changed, 0 insertions, 0 deletions