ext4: remove dynamic array size in ext4_chksum()
authorTheodore Ts'o <tytso@mit.edu>
Mon, 23 Jul 2012 00:25:31 +0000 (20:25 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 23 Jul 2012 00:25:31 +0000 (20:25 -0400)
commit3108b54bcedde5d952c90460df5bc21efc1e134f
tree7adb071d689b93960069666f8d03bbafb629b93c
parent8a9918497bcf5aaa8d45eb61c373605bc4e8c81f
ext4: remove dynamic array size in ext4_chksum()

The ext4_checksum() inline function was using a dynamic array size,
which is not legal C.  (It is a gcc extension).

Remove it.

Cc: "Darrick J. Wong" <djwong@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4.h