diff options
| author | David Sterba <dsterba@suse.com> | 2017-06-16 00:28:47 +0200 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2018-01-22 16:08:12 +0100 |
| commit | 1538e6c52e19175a5f4da48eb88e059d5d12d7a0 (patch) | |
| tree | 151285cc2075a5dabeeec3ca8ec01e94ad3ac78d /fs/btrfs/tree-checker.c | |
| parent | btrfs: switch to RCU for device traversal in btrfs_ioctl_fs_info (diff) | |
| download | linux-1538e6c52e19175a5f4da48eb88e059d5d12d7a0.tar.gz linux-1538e6c52e19175a5f4da48eb88e059d5d12d7a0.zip | |
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/tree-checker.c')
0 files changed, 0 insertions, 0 deletions
