diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-12-20 23:56:42 -0500 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-01-09 23:38:41 -0500 |
| commit | b5e4cd0871db885de05d531e8e72fa6059d81bd4 (patch) | |
| tree | edc07397262a0c68562859b5fbb7a8c6f5b4a01c /tools/docs/lib/parse_data_structs.py | |
| parent | 45414083913f68cb7586924767a3fb2cc7710352 (diff) | |
bcachefs: Don't rely on snapshot_tree.master_subvol for reattaching
Previously, fsck used the snapshot tree's master subvol for finding the
root inode number - but the master subvol might have been deleting, and
setting a new one should be a user operation; meaning we can't rely on
it existing.
Fortunately, for finding the root inode number in a tree of snapshots,
finding any associated subvolume works.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/docs/lib/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions
