bcachefs: Fix compat path for old inode formats
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 3 Dec 2022 20:44:54 +0000 (15:44 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:49 +0000 (17:09 -0400)
commite9a1da97377f89f09e6b0b484554fe7a0e2dbe3e
tree8f9db55fb8cb483e70f310bbb4173900533d6fbf
parent313816363a843f1b812ae9190f6dcb4c49145057
bcachefs: Fix compat path for old inode formats

Old inode formats don't have all the fields of the current inode format:
when unpacking inodes in the current format we can thus skip zeroing out
the destination buffer, but that doesn't work on for the old formats.

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