diff options
author | Vinícius Tinti <viniciustinti@gmail.com> | 2014-04-04 18:21:24 -0300 |
---|---|---|
committer | Behan Webster <behanw@converseincode.com> | 2014-10-14 10:51:22 +0200 |
commit | 0458a953d85088a9ba3e448745676377775879e0 (patch) | |
tree | c73eb37def38237f25aba8347443237f25941725 /fs/btrfs/print-tree.h | |
parent | a0a77af14117e388d43b2385d5ecc800e2d6eee9 (diff) | |
download | blackbird-obmc-linux-0458a953d85088a9ba3e448745676377775879e0.tar.gz blackbird-obmc-linux-0458a953d85088a9ba3e448745676377775879e0.zip |
btrfs: LLVMLinux: Remove VLAIS
Replaced the use of a Variable Length Array In Struct (VLAIS) with a C99
compliant equivalent. This patch instead allocates the appropriate amount of
memory using a char array using the SHASH_DESC_ON_STACK macro.
The new code can be compiled with both gcc and clang.
Signed-off-by: Vinícius Tinti <viniciustinti@gmail.com>
Reviewed-by: Jan-Simon Möller <dl9pf@gmx.de>
Reviewed-by: Mark Charlebois <charlebm@gmail.com>
Signed-off-by: Behan Webster <behanw@converseincode.com>
Acked-by: Chris Mason <clm@fb.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Diffstat (limited to 'fs/btrfs/print-tree.h')
0 files changed, 0 insertions, 0 deletions