From: Christoph Hellwig Date: Fri, 8 Jul 2011 12:35:19 +0000 (+0200) Subject: xfs: cleanup the definition of struct xfs_dir2_sf_entry X-Git-Tag: v3.1-rc1~322^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78f70cd7b7e8fd44dc89af4f72fb110d865338a1;p=pandora-kernel.git xfs: cleanup the definition of struct xfs_dir2_sf_entry Remove the inumber 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. Based on this clean up the helpers to calculate the entry size. Signed-off-by: Christoph Hellwig Reviewed-by: Alex Elder Reviewed-by: Dave Chinner --- Reading git-diff-tree failed