aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jffs2/xattr_user.c
diff options
context:
space:
mode:
authorBehan Webster <behanw@converseincode.com>2012-11-08 11:24:46 -0500
committerTheodore Ts'o <tytso@mit.edu>2012-11-08 11:24:46 -0500
commitfd47d3e1c2949838e858379aaf2bc20647be2912 (patch)
tree07fc4583dbaea7110aaf112e2c298c6120f891b1 /fs/jffs2/xattr_user.c
parent37be2f59d3149b95afaeeeff94edde2c07f165d2 (diff)
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 'fs/jffs2/xattr_user.c')
0 files changed, 0 insertions, 0 deletions