diff options
author | David Sterba <dsterba@suse.com> | 2019-03-29 02:07:02 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-03-23 17:01:44 +0100 |
commit | ee787f9550534612a4694cc4ec9f2d397d4b5752 (patch) | |
tree | 240e8387a5bc65dc5236e686e8a5893b6e95e0f5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dcc3eb9638c3c927f1597075e851d0a16300a876 (diff) |
btrfs: use struct_size to calculate size of raid hash table
The struct_size macro does the same calculation and is safe regarding
overflows. Though we're not expecting them to happen, use the helper for
clarity.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions