diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-10-09 21:28:11 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-10-12 05:02:48 -0400 |
commit | c986dd7ecba185ad2a36b0815940f34deb2a8170 (patch) | |
tree | e9a1899c7906d265bf0c4f53c737d8f7e7f6d3c9 /drivers/platform/surface/aggregator/ssh_parser.c | |
parent | 9183c2b11e93f16dfd89a7fa09ec50c0be71f15a (diff) | |
download | linux-c986dd7ecba185ad2a36b0815940f34deb2a8170.tar.gz linux-c986dd7ecba185ad2a36b0815940f34deb2a8170.tar.bz2 linux-c986dd7ecba185ad2a36b0815940f34deb2a8170.zip |
bcachefs: Improve check_snapshot_exists()
Check if we have snapshot_trees or subvolumes that refer to the snapshot
node being reconstructed, and use them.
With this, the kill_btree_root test that blows away the snapshots btree
now passes, and we're able to successfully reconstruct.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions