diff options
author | 2016-07-20 10:43:11 +1000 | |
---|---|---|
committer | 2016-07-20 10:43:11 +1000 | |
commit | ad70328a503fae813a563dbe97dd3466ac079e8e (patch) | |
tree | dcad58ba5be6727b35e0a098131ba41e3be40eb1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xfs: indentation fix in xfs_btree_get_iroot() (diff) | |
download | wireguard-linux-ad70328a503fae813a563dbe97dd3466ac079e8e.tar.xz wireguard-linux-ad70328a503fae813a563dbe97dd3466ac079e8e.zip |
xfs: remove the magic numbers in xfs_btree_block-related len macros
replace the magic numbers by offsetof(...) and sizeof(...), and add two
extra checks on xfs_check_ondisk_structs()
[dchinner: renamed header structures to be more descriptive]
Signed-off-by: Hou Tao <houtao1@huawei.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions