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

btrfs: switch to RCU for device traversal in btrfs_ioctl_fs_info



We don't need to use the mutex as we do not modify the devices nor the
list itself and just read information about device counts.
Move copying fsid out of the protected section, not applicable to RCU
same as the rest of the retrieved information.

Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent c5593ca3
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