bcachefs: Fix for bch2_bkey_pack_pos() not initializing len/version fields
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 17 May 2021 20:43:30 +0000 (16:43 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:03 +0000 (17:09 -0400)
commitc21d5377791d94fca0d990eee82111572412640c
tree890012193173892f2234bd83f3522642fe698cb8
parent82355e2882339067e1d6deaec68e629f63259c0d
bcachefs: Fix for bch2_bkey_pack_pos() not initializing len/version fields

This bug led to push_whiteout() generating whiteouts that failed
bch2_bkey_invalid() due to nonzero length fields - oops.

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