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

bcachefs: delete_dead_snapshots() doesn't need to go RW



We've been moving away from going RW lazily; if we want to go RW we do
that in set_may_go_rw(), and if we didn't go RW we don't need to delete
dead snapshots.

Reported-by: default avatar <syzbot+4366624c0b5aac4906cf@syzkaller.appspotmail.com>
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent dbf4d79b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment