diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-12-21 07:56:42 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-01-10 07:38:41 +0300 |
commit | b5e4cd0871db885de05d531e8e72fa6059d81bd4 (patch) | |
tree | edc07397262a0c68562859b5fbb7a8c6f5b4a01c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 45414083913f68cb7586924767a3fb2cc7710352 (diff) | |
download | linux-b5e4cd0871db885de05d531e8e72fa6059d81bd4.tar.xz |
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/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions