aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-03-29 02:07:02 +0100
committerDavid Sterba <dsterba@suse.com>2020-03-23 17:01:44 +0100
commitee787f9550534612a4694cc4ec9f2d397d4b5752 (patch)
tree240e8387a5bc65dc5236e686e8a5893b6e95e0f5 /tools/perf/scripts/python/export-to-postgresql.py
parentbtrfs: convert snapshot/nocow exlcusion to drew lock (diff)
downloadlinux-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