bcachefs: Fix a buffer overrun
authorKent Overstreet <kent.overstreet@gmail.com>
Thu, 10 Jun 2021 17:21:39 +0000 (13:21 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:05 +0000 (17:09 -0400)
commit74cc1abdbf50fcdaedf4bcf9a800c575ec44e17a
tree83ef2a86474c9a5f5038a147f7542d3db99a52ac
parent224ec3e677ca82eb4216a0916ce7b04f401e90e7
bcachefs: Fix a buffer overrun

In make_extent_indirect(), we were allocating too small of a buffer for
the new indirect extent.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/reflink.c