From: Christoph Hellwig Date: Wed, 13 Jul 2011 11:43:48 +0000 (+0200) Subject: xfs: cleanup struct xfs_dir2_free X-Git-Tag: v3.1-rc1~322^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a00b7745c6e68ee89a123cd81e1dbc52fb55868e;p=pandora-kernel.git xfs: cleanup struct xfs_dir2_free Change the bests array to be a proper variable sized entry. This is done easily as no one relies on the size of the structure. Also change XFS_DIR2_MAX_FREE_BESTS to an inline function while we're at it. Signed-off-by: Christoph Hellwig Reviewed-by: Alex Elder Reviewed-by: Dave Chinner --- Reading git-diff-tree failed