]> www.infradead.org Git - users/dwmw2/linux.git/commit
bcachefs: Don't delete open files in online fsck
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 8 Sep 2024 05:06:57 +0000 (01:06 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 9 Sep 2024 13:41:47 +0000 (09:41 -0400)
commit16005147cca41a0f67b5def2a4656286f8c0db4a
tree48e7249d747ab55caeb70dd8eb863d8b36e1ba73
parent2c377d8a71db32d4125d30b3641f2bc51c6850ca
bcachefs: Don't delete open files in online fsck

If a file is unlinked but still open, we don't want online fsck to
delete it - or fun inconsistencies will happen.

https://github.com/koverstreet/bcachefs/issues/727

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