summaryrefslogtreecommitdiff
path: root/fs/btrfs/ioctl.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-06-16 00:28:47 +0200
committerDavid Sterba <dsterba@suse.com>2018-01-22 16:08:12 +0100
commit1538e6c52e19175a5f4da48eb88e059d5d12d7a0 (patch)
tree151285cc2075a5dabeeec3ca8ec01e94ad3ac78d /fs/btrfs/ioctl.c
parentd03262c75da97503d026516456da41f38aa82067 (diff)
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: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ioctl.c')
0 files changed, 0 insertions, 0 deletions