diff options
author | 2019-03-29 02:07:02 +0100 | |
---|---|---|
committer | 2020-03-23 17:01:44 +0100 | |
commit | ee787f9550534612a4694cc4ec9f2d397d4b5752 (patch) | |
tree | 240e8387a5bc65dc5236e686e8a5893b6e95e0f5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: convert snapshot/nocow exlcusion to drew lock (diff) | |
download | linux-dev-ee787f9550534612a4694cc4ec9f2d397d4b5752.tar.xz linux-dev-ee787f9550534612a4694cc4ec9f2d397d4b5752.zip |
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