From: Behan Webster Date: Thu, 8 Nov 2012 16:24:46 +0000 (-0500) Subject: jbd2: remove VLAIS usage from JBD2 code X-Git-Tag: v3.8-rc1~89^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd47d3e1c2949838e858379aaf2bc20647be2912;p=pandora-kernel.git 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 Signed-off-by: Behan Webster Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed