diff options
| author | Nikolay Borisov <[email protected]> | 2020-07-22 11:09:24 +0300 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2020-10-07 12:12:15 +0200 |
| commit | 4ae312e9728fe568ce0d863421c399ec829d6df9 (patch) | |
| tree | d582c80e90a7e5d84ebff9284e2bffff912935ec /tools/perf/scripts/python | |
| parent | 44cab9ba374a0341e12c024f43a83e12ec4978fd (diff) | |
btrfs: remove redundant code from btrfs_free_stale_devices
Following the refactor of btrfs_free_stale_devices in
7bcb8164ad94 ("btrfs: use device_list_mutex when removing stale devices")
fs_devices are freed after they have been iterated by the inner
list_for_each so the use-after-free fixed by introducing the break in
fd649f10c3d2 ("btrfs: Fix use-after-free when cleaning up fs_devs with
a single stale device") is no longer necessary. Just remove it
altogether. No functional changes.
Reviewed-by: Anand Jain <[email protected]>
Signed-off-by: Nikolay Borisov <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions