bcachefs: ec: zero_out_rest_of_ec_bucket()
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 26 Feb 2023 22:12:36 +0000 (17:12 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:55 +0000 (17:09 -0400)
commit94bc95c468344d6a329dd87ab4461532584a7b71
tree3106b439bbbbf9658513c909580c66e30aeb7f94
parent039c45feef4f9a46aa0ee0b5ecfafdfd4c0dde76
bcachefs: ec: zero_out_rest_of_ec_bucket()

Occasionally, we won't write to an entire bucket. This fixes the EC code
to handle this case, zeroing out the rest of the bucket as needed.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/ec.c