xfs: cleanup the definition of struct xfs_dir2_data_entry
authorChristoph Hellwig <hch@lst.de>
Fri, 8 Jul 2011 12:35:50 +0000 (14:35 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 8 Jul 2011 12:35:50 +0000 (14:35 +0200)
commit3ed8638f8867b4d0df1ec606231a087ff06c4a59
tree17afe7f78f2d32e96eb5f7697b9a4db6c5796e7e
parent0ba9cd84ef2af58645333a86f9c901684ab1fef6
xfs: cleanup the definition of struct xfs_dir2_data_entry

Remove the tag member which is at a variable offset after the actual
name, and make name a real variable sized C99 array instead of the incorrect
one-sized array which confuses (not only) gcc.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/xfs_dir2_data.h