android_kernel_xiaomi_sm8350/fs/xfs/linux-2.6
Christoph Hellwig aea6ad0ce5 [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>
2008-01-11 18:05:04 +11:00
..
kmem.c
kmem.h
mrlock.h
mutex.h
sema.h
spin.h
sv.h
time.h
xfs_aops.c Merge branch 'for-linus' of git://oss.sgi.com:8090/xfs/xfs-2.6 2007-10-17 09:04:11 -07:00
xfs_aops.h
xfs_buf.c [XFS] Make xfsbufd threads freezable 2007-12-10 13:47:36 +11:00
xfs_buf.h
xfs_cred.h
xfs_dmapi_priv.h
xfs_export.c exportfs: make struct export_operations const 2007-10-22 08:13:21 -07:00
xfs_export.h xfs: new export ops 2007-10-22 08:13:20 -07:00
xfs_file.c [XFS] fix unaligned access in readdir 2008-01-11 18:05:04 +11:00
xfs_fs_subr.c
xfs_fs_subr.h
xfs_globals.c
xfs_globals.h
xfs_ioctl32.c [XFS] 971064 Various fixups for xfs_bulkstat(). 2007-12-10 13:44:11 +11:00
xfs_ioctl32.h
xfs_ioctl.c [XFS] 971064 Various fixups for xfs_bulkstat(). 2007-12-10 13:44:11 +11:00
xfs_iops.c [XFS] Fix mknod regression 2007-12-21 11:39:58 +11:00
xfs_iops.h
xfs_linux.h
xfs_lrw.c Merge branch 'for-linus' of git://oss.sgi.com:8090/xfs/xfs-2.6 2007-10-17 09:04:11 -07:00
xfs_lrw.h
xfs_stats.c
xfs_stats.h
xfs_super.c Merge branch 'for-linus' of git://oss.sgi.com:8090/xfs/xfs-2.6 2007-10-17 09:04:11 -07:00
xfs_super.h exportfs: make struct export_operations const 2007-10-22 08:13:21 -07:00
xfs_sysctl.c
xfs_sysctl.h
xfs_version.h
xfs_vfs.h
xfs_vnode.c
xfs_vnode.h