xfs: allow unaligned extent records in xfs_bmbt_disk_set_all
authorChristoph Hellwig <hch@lst.de>
Fri, 3 Nov 2017 17:34:45 +0000 (10:34 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 6 Nov 2017 19:53:41 +0000 (11:53 -0800)
commit135dcc10d6ebf6184686042ec8b098e376252fff
tree22f573683751dda659e8bc481f8d817131430094
parent43518812d297179ae1e432d5cd640ec168596283
xfs: allow unaligned extent records in xfs_bmbt_disk_set_all

To make life a little simpler make xfs_bmbt_set_all unaligned access
aware so that we can use it directly on the destination buffer.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_bmap_btree.c