summaryrefslogtreecommitdiff
path: root/fs/bcachefs/bcachefs.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-07-14 00:44:09 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:35 -0400
commite4085b70f21f0e4b578a50a9fd7e84f2a055010f (patch)
tree397cc27f23a037711d0cd2723fb8173388e32203 /fs/bcachefs/bcachefs.h
parent597dee1cd67d591cd5aeba184fdb69d0da0ceb78 (diff)
downloadlwn-e4085b70f21f0e4b578a50a9fd7e84f2a055010f.tar.gz
lwn-e4085b70f21f0e4b578a50a9fd7e84f2a055010f.zip
bcachefs: fsck_inode_rm() shouldn't delete subvols
We should never see an inode marked as unlinked that's a subvolume root (or a directory) in fsck, but even if we do it's not correct for fsck to delete the subvolume: subvolumes are owned by dirents, and if we find a dangling subvolume (not marked as unlinked) we want fsck to reattach it. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/bcachefs.h')
0 files changed, 0 insertions, 0 deletions