]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: Skip unrelated snapshot trees in snapshot deletion
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 2 May 2025 18:43:45 +0000 (14:43 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 22 May 2025 00:14:43 +0000 (20:14 -0400)
commit3f8e97726557f2130c2992bf214c9e936b4a0877
tree1526c375a02b33bac0e056fb081c08c280e7aedd
parent0afdf4969e0ac24f63b499c6c75731564a072eb8
bcachefs: Skip unrelated snapshot trees in snapshot deletion

Don't scan keys in inodes for which the snapshot tree doesn't match any
we're deleting from.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/snapshot.c
fs/bcachefs/snapshot_types.h