summaryrefslogtreecommitdiff
path: root/fs/bcachefs/super.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-09-29 00:46:30 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:10:16 -0400
commit1e2d399970ca1d66fa1c715f4d80a0251f2a122e (patch)
tree89d28de5c0a8632dda4332e101799d2f8bf9cc29 /fs/bcachefs/super.c
parent4637429e3946d083eedde1668c17a4fadaf3c0b1 (diff)
downloadlwn-1e2d399970ca1d66fa1c715f4d80a0251f2a122e.tar.gz
lwn-1e2d399970ca1d66fa1c715f4d80a0251f2a122e.zip
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: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/super.c')
0 files changed, 0 insertions, 0 deletions