bcachefs: Zero out reflink_p val in bch2_make_extent_indirect()
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 18 Oct 2021 15:32:06 +0000 (11:32 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:14 +0000 (17:09 -0400)
commit70d61a7036c8d046889a4bf4eda504a6a56b2642
treeec784d95c718abf9ee47e36432621d7d0c3bbe46
parentbd547c8acb1aa76ceab1987109ac6ceae698fcc9
bcachefs: Zero out reflink_p val in bch2_make_extent_indirect()

This bug was only discovered when we started using the 2nd word in the
val, which should have been zeroed out as those fields had never been
used before - ouch.

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