xfs: get allocation alignment from the buftarg
authorDave Chinner <dchinner@redhat.com>
Mon, 26 Aug 2019 19:08:38 +0000 (12:08 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 27 Aug 2019 00:43:14 +0000 (17:43 -0700)
commitd916275aa4ddfea69b5480e292f398d58bdb40fc
tree1281a72cc02b2c52b24dbeda7b8a1fc1b8201959
parent0ad95687c3adb91e762d0f6ea50a6b1137300e19
xfs: get allocation alignment from the buftarg

Needed to feed into the allocation routine to guarantee the memory
buffers we add to bios are correctly aligned to the underlying
device.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_buf.h