diff options
author | Behan Webster <behanw@converseincode.com> | 2012-11-08 20:24:46 +0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2012-11-08 20:24:46 +0400 |
commit | fd47d3e1c2949838e858379aaf2bc20647be2912 (patch) | |
tree | 07fc4583dbaea7110aaf112e2c298c6120f891b1 /include/crypto/twofish.h | |
parent | 37be2f59d3149b95afaeeeff94edde2c07f165d2 (diff) | |
download | linux-fd47d3e1c2949838e858379aaf2bc20647be2912.tar.xz |
jbd2: remove VLAIS usage from JBD2 code
The use of variable length arrays in structs (VLAIS) in the Linux Kernel code
precludes the use of compilers which don't implement VLAIS (for instance the
Clang compiler). Since ctx is always a 32-bit CRC, hard coding a size of 4
bytes accomplishes the same thing without the use of VLAIS. This is the same
technique already employed in fs/ext4/ext4.h
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
Signed-off-by: Behan Webster <behanw@converseincode.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'include/crypto/twofish.h')
0 files changed, 0 insertions, 0 deletions