Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment