1
0
Fork 0
remarkable-linux/fs/xfs/libxfs
Eric Sandeen 75c5afd58d xfs: fix unaligned access in xfs_btree_visit_blocks
commit a4d768e702 upstream.

This structure copy was throwing unaligned access warnings on sparc64:

Kernel unaligned access at TPC[1043c088] xfs_btree_visit_blocks+0x88/0xe0 [xfs]

xfs_btree_copy_ptrs does a memcpy, which avoids it.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-06-07 12:07:53 +02:00
..
xfs_ag_resv.c xfs: use per-AG reservations for the finobt 2017-04-08 09:30:30 +02:00
xfs_ag_resv.h xfs: set up per-AG free space reservations 2016-09-19 10:30:52 +10:00
xfs_alloc.c xfs: don't rely on ->total in xfs_alloc_space_available 2017-02-04 09:47:11 +01:00
xfs_alloc.h xfs: adjust allocation length in xfs_alloc_space_available 2017-02-04 09:47:11 +01:00
xfs_alloc_btree.c xfs: use GPF_NOFS when allocating btree cursors 2017-01-12 11:39:44 +01:00
xfs_alloc_btree.h
xfs_attr.c xfs: remove racy hasattr check from attr ops 2017-02-04 09:47:12 +01:00
xfs_attr_leaf.c xfs: ignore leaf attr ichdr.count in verifier during log replay 2017-01-12 11:39:44 +01:00
xfs_attr_leaf.h xfs: make several functions static 2016-06-01 17:38:15 +10:00
xfs_attr_remote.c xfs: rename flist/free_list to dfops 2016-08-03 11:19:29 +10:00
xfs_attr_remote.h
xfs_attr_sf.h xfs: move struct xfs_attr_shortform to xfs_da_format.h 2016-02-08 15:00:01 +11:00
xfs_bit.c libxfs: Optimize the loop for xfs_bitmap_empty 2016-01-04 16:10:19 +11:00
xfs_bit.h
xfs_bmap.c xfs: fix indlen accounting error on partial delalloc conversion 2017-06-07 12:07:52 +02:00
xfs_bmap.h xfs: fix COW writeback race 2017-02-04 09:47:12 +01:00
xfs_bmap_btree.c xfs: try any AG when allocating the first btree block when reflinking 2017-04-08 09:30:32 +02:00
xfs_bmap_btree.h
xfs_btree.c xfs: fix unaligned access in xfs_btree_visit_blocks 2017-06-07 12:07:53 +02:00
xfs_btree.h xfs: filter out obviously bad btree pointers 2017-04-08 09:30:30 +02:00
xfs_cksum.h
xfs_da_btree.c xfs: fail _dir_open when readahead fails 2017-04-08 09:30:30 +02:00
xfs_da_btree.h xfs: fail _dir_open when readahead fails 2017-04-08 09:30:30 +02:00
xfs_da_format.c xfs: kill xfs_dir2_inou_t 2016-07-20 11:48:31 +10:00
xfs_da_format.h xfs: fix attr shortform structure alignment on cris 2016-08-03 10:59:42 +10:00
xfs_defer.c xfs: defer should abort intent items if the trans roll fails 2016-10-24 14:21:18 +11:00
xfs_defer.h xfs: implement deferred bmbt map/unmap operations 2016-10-04 11:05:44 -07:00
xfs_dir2.c xfs: fix xfs_mode_to_ftype() prototype 2017-02-04 09:47:12 +01:00
xfs_dir2.h xfs: fix xfs_mode_to_ftype() prototype 2017-02-04 09:47:12 +01:00
xfs_dir2_block.c xfs: print name of verifier if it fails 2016-01-04 16:10:19 +11:00
xfs_dir2_data.c xfs: don't crash if reading a directory results in an unexpected hole 2017-01-12 11:39:43 +01:00
xfs_dir2_leaf.c xfs: print name of verifier if it fails 2016-01-04 16:10:19 +11:00
xfs_dir2_node.c xfs: verify free block header fields 2017-04-08 09:30:31 +02:00
xfs_dir2_priv.h xfs: rework the inline directory verifiers 2017-06-07 12:07:50 +02:00
xfs_dir2_sf.c xfs: rework the inline directory verifiers 2017-06-07 12:07:50 +02:00
xfs_dquot_buf.c libxfs: clean up _calc_dquots_per_chunk 2016-10-20 15:46:18 +11:00
xfs_format.h libxfs: v3 inodes are only valid on crc-enabled filesystems 2016-10-20 15:48:38 +11:00
xfs_fs.h xfs: create a separate cow extent size hint for the allocator 2016-10-05 16:26:26 -07:00
xfs_ialloc.c xfs: Use xfs_icluster_size_fsb() to calculate inode chunk alignment 2017-04-08 09:30:32 +02:00
xfs_ialloc.h xfs: rename flist/free_list to dfops 2016-08-03 11:19:29 +10:00
xfs_ialloc_btree.c xfs: use per-AG reservations for the finobt 2017-04-08 09:30:30 +02:00
xfs_ialloc_btree.h xfs: use per-AG reservations for the finobt 2017-04-08 09:30:30 +02:00
xfs_inode_buf.c xfs: sanity check inode di_mode 2017-02-04 09:47:12 +01:00
xfs_inode_buf.h libxfs: v3 inodes are only valid on crc-enabled filesystems 2016-10-20 15:48:38 +11:00
xfs_inode_fork.c xfs: rework the inline directory verifiers 2017-06-07 12:07:50 +02:00
xfs_inode_fork.h xfs: rework the inline directory verifiers 2017-06-07 12:07:50 +02:00
xfs_log_format.h xfs: add shared rmap map/unmap/convert log item types 2016-10-05 16:26:29 -07:00
xfs_log_recover.h xfs: support a crc verification only log record pass 2016-01-04 15:55:10 +11:00
xfs_log_rlimit.c xfs: move most of xfs_sb.h to xfs_format.h 2014-11-28 14:27:09 +11:00
xfs_quota_defs.h xfs: wire up Q_XGETNEXTQUOTA / get_nextdqblk 2016-02-08 11:27:38 +11:00
xfs_refcount.c xfs: avoid mount-time deadlock in CoW extent recovery 2017-06-07 12:07:52 +02:00
xfs_refcount.h xfs: store in-progress CoW allocations in the refcount btree 2016-10-05 16:26:05 -07:00
xfs_refcount_btree.c xfs: use the actual AG length when reserving blocks 2017-01-12 11:39:44 +01:00
xfs_refcount_btree.h xfs: use the actual AG length when reserving blocks 2017-01-12 11:39:44 +01:00
xfs_rmap.c xfs: convert unwritten status of reverse mappings for shared files 2016-10-05 16:26:29 -07:00
xfs_rmap.h xfs: use interval query for rmap alloc operations on shared files 2016-10-05 16:26:29 -07:00
xfs_rmap_btree.c xfs: use the actual AG length when reserving blocks 2017-01-12 11:39:44 +01:00
xfs_rmap_btree.h xfs: use the actual AG length when reserving blocks 2017-01-12 11:39:44 +01:00
xfs_rtbitmap.c xfs: make several functions static 2016-06-01 17:38:15 +10:00
xfs_sb.c xfs: verify dirblocklog correctly 2017-02-04 09:47:12 +01:00
xfs_sb.h xfs: remove unused function definitions 2016-02-08 14:58:07 +11:00
xfs_shared.h xfs: define the on-disk refcount btree format 2016-10-03 09:11:18 -07:00
xfs_symlink_remote.c xfs: print name of verifier if it fails 2016-01-04 16:10:19 +11:00
xfs_trans_resv.c xfs: increase log reservations for reflink 2016-10-05 16:26:29 -07:00
xfs_trans_resv.h xfs: increase log reservations for reflink 2016-10-05 16:26:29 -07:00
xfs_trans_space.h xfs: reserve enough blocks to handle btree splits when remapping 2017-06-07 12:07:52 +02:00
xfs_types.h xfs: check minimum block size for CRC filesystems 2017-01-12 11:39:40 +01:00