linux/fs/bcachefs
Kent Overstreet fd65378db9 bcachefs: Don't delete unlinked inodes before logged op resume
Previously, check_inode() would delete unlinked inodes if they weren't
on the deleted list - this code dating from before there was a deleted
list.

But, if we crash during a logged op (truncate or finsert/fcollapse) of
an unlinked file, logged op resume will get confused if the inode has
already been deleted - instead, just add it to the deleted list if it
needs to be there; delete_dead_inodes runs after logged op resume.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-09-27 21:46:35 -04:00
..
2024-08-08 15:14:02 -04:00
2024-03-13 21:22:26 -04:00
2024-09-09 09:41:49 -04:00
2024-07-14 19:00:15 -04:00
2024-03-13 18:39:12 -04:00
2024-01-21 13:27:10 -05:00
2024-09-21 11:39:48 -04:00
2024-09-21 11:39:48 -04:00
2024-09-21 11:39:49 -04:00
2024-01-21 13:27:11 -05:00
2024-03-13 18:39:12 -04:00
2024-07-14 19:00:12 -04:00
2024-09-21 11:39:48 -04:00
2024-01-21 13:27:10 -05:00
2024-09-09 09:41:48 -04:00
2024-07-14 19:00:16 -04:00
2024-09-09 09:41:47 -04:00
2024-09-21 11:39:48 -04:00
2024-09-21 11:39:48 -04:00
2024-01-21 13:27:10 -05:00
2024-01-21 13:27:11 -05:00
2024-05-08 17:29:19 -04:00
2024-09-21 11:39:48 -04:00
2024-06-23 00:57:21 -04:00
2024-01-01 11:47:40 -05:00
2024-01-21 13:27:10 -05:00
2024-05-08 17:29:19 -04:00
2024-09-21 11:39:48 -04:00
2024-09-09 09:41:49 -04:00
2024-09-09 09:41:49 -04:00
2024-09-09 09:41:48 -04:00