Skip to content
Snippets Groups Projects
Commit 3a2d0259 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix bch2_dev_lookup() refcounting


bch2_dev_lookup() is supposed to take a ref on the device it returns, but
for_each_member_device() takes refs as it iterates,
for_each_member_device_rcu() does not.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 1267df40
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment