aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTheodore Ts'o <[email protected]>2017-08-14 08:29:18 -0400
committerTheodore Ts'o <[email protected]>2017-08-14 08:29:18 -0400
commitb80b32b6d5e79798b85cd4644206aaa069059390 (patch)
treeeac8acb2b6f91d85f762257cd944bd709ec3256b /tools/perf/scripts/python/export-to-postgresql.py
parentaae4e7a8bc44722fe70d58920a36916b1043195e (diff)
ext4: fix clang build regression
Arnd Bergmann <[email protected]> As Stefan pointed out, I misremembered what clang can do specifically, and it turns out that the variable-length array at the end of the structure did not work (a flexible array would have worked here but not solved the problem): fs/ext4/mballoc.c:2303:17: error: fields must have a constant size: 'variable length array in structure' extension will never be supported ext4_grpblk_t counters[blocksize_bits + 2]; This reverts part of my previous patch, using a fixed-size array again, but keeping the check for the array overflow. Fixes: 2df2c3402fc8 ("ext4: fix warning about stack corruption") Reported-by: Stefan Agner <[email protected]> Tested-by: Chandan Rajendra <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions