From: Christoph Hellwig Date: Thu, 10 Jan 2008 05:43:26 +0000 (+1100) Subject: [XFS] fix unaligned access in readdir X-Git-Tag: v2.6.24-rc8~41^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aea6ad0ce5e215ce99fe9e3edd9268f696862d8f;p=pandora-kernel.git [XFS] fix unaligned access in readdir This patch should fix the issue seen on Alpha with unaligned accesses in the new readdir code. By aligning each dirent to sizeof(u64) we'll avoid unaligned accesses. To make doubly sure we're not hitting problems also rearrange struct hack_dirent to avoid holes. SGI-PV: 975411 SGI-Modid: xfs-linux-melb:xfs-kern:30302a Signed-off-by: Christoph Hellwig Signed-off-by: Lachlan McIlroy --- Reading git-diff-tree failed