]> Git Repo - linux.git/commit
btrfs: LLVMLinux: Remove VLAIS
authorVinícius Tinti <[email protected]>
Fri, 4 Apr 2014 21:21:24 +0000 (18:21 -0300)
committerBehan Webster <[email protected]>
Tue, 14 Oct 2014 08:51:22 +0000 (10:51 +0200)
commit0458a953d85088a9ba3e448745676377775879e0
treec73eb37def38237f25aba8347443237f25941725
parenta0a77af14117e388d43b2385d5ecc800e2d6eee9
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 <[email protected]>
Reviewed-by: Jan-Simon Möller <[email protected]>
Reviewed-by: Mark Charlebois <[email protected]>
Signed-off-by: Behan Webster <[email protected]>
Acked-by: Chris Mason <[email protected]>
Acked-by: Herbert Xu <[email protected]>
Cc: "David S. Miller" <[email protected]>
fs/btrfs/hash.c
This page took 0.049042 seconds and 4 git commands to generate.