bcachefs: Fix missing field initialization
authorKent Overstreet <kent.overstreet@gmail.com>
Sat, 13 Nov 2021 22:57:52 +0000 (17:57 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:17 +0000 (17:09 -0400)
commit1c9e6d50e28c89d03bebfe3e3946746dc1eeab74
treebff5580c235b89480dc78a89b66493c5e5621183
parent531b69e9afed954156b193264daf32c067454952
bcachefs: Fix missing field initialization

When unpacking v1 inodes, we were failing to initialize the journal_seq
field, leading to a BUG_ON() when fsync tries to flush a garbage journal
sequence number.

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