commit | aea6ad0ce5e215ce99fe9e3edd9268f696862d8f | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@infradead.org> | Thu Jan 10 16:43:26 2008 +1100 |
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | Fri Jan 11 18:05:04 2008 +1100 |
tree | ab7e37bb1a046cabb01479b313493731359c68eb | |
parent | fd0b45dfd1858c6b49d06355a460bcf36d654c06 [diff] |
[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 <hch@infradead.org> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>