Commit 1e2d3999 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix snapshot skiplists during snapshot deletion



In snapshot deleion, we have to pick new skiplist nodes for entries that
point to nodes being deleted.

The function that finds a new skiplist node, skipping over entries being
deleted, was incorrect: if n = 0, but the parent node is being deleted,
we also need to skip over that node.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 4637429e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment