]> www.infradead.org Git - users/hch/dma-mapping.git/commit
bcachefs: Set bch_inode_unpacked.bi_snapshot in old inode path
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 20 Oct 2024 22:00:13 +0000 (18:00 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 20 Oct 2024 22:09:09 +0000 (18:09 -0400)
commita069f014797fdef8757f3adebc1c16416271a599
treed71551224e9209b0b4dfe326f1827844b22a9be7
parente04ee8608914d00812e4a10288cf8d8905ced849
bcachefs: Set bch_inode_unpacked.bi_snapshot in old inode path

This fixes a fsck bug on a very old filesystem (pre mainline merge).

Fixes: 72350ee0ea22 ("bcachefs: Kill snapshot arg to fsck_write_inode()")
Reported-by: Marcin Mirosław <marcin@mejor.pl>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/inode.c