aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2022-03-24 17:52:09 +0100
committerDavid Sterba <[email protected]>2022-05-16 17:03:12 +0200
commit8e010b3d7043e61fc0bbfe27a57dad674eef7340 (patch)
tree76cb5e9e047452307ad37fa38f548955db555483 /tools/perf/scripts/python/flamegraph.py
parent8aa1e49ea1fdcc585be4bcfe8c62684a087cc7c6 (diff)
btrfs: remove the zoned/zone_size union in struct btrfs_fs_info
Reading a value from a different member of a union is not just a great way to obfuscate code, but also creates an aliasing violation. Switch btrfs_is_zoned to look at ->zone_size and remove the union. Note: union was to simplify the detection of zoned filesystem but now this is wrapped behind btrfs_is_zoned so we can drop the union. Reviewed-by: Johannes Thumshirn <[email protected]> Reviewed-by: Naohiro Aota <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: David Sterba <[email protected]> [ add note ] Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions