Skip to content
Commit 1538e6c5 authored by David Sterba's avatar David Sterba
Browse files

btrfs: use non-RCU list traversal in write_all_supers callees



We take the fs_devices::device_list_mutex mutex in write_all_supers
which will prevent any add/del changes to the device list. Therefore we
don't need to use the RCU variant list_for_each_entry_rcu in any of the
called functions.

Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent d03262c7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment