summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-06-16 00:09:21 +0200
committerDavid Sterba <dsterba@suse.com>2018-01-22 16:08:12 +0100
commitd03262c75da97503d026516456da41f38aa82067 (patch)
treef2868754d469edb3e8699ef6e73c6c00d779502e /fs/btrfs/disk-io.c
parentc5593ca3c8a82eb397804e22a34d2c7061b55f56 (diff)
downloadlinux-d03262c75da97503d026516456da41f38aa82067.tar.bz2
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: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions