xfs: factor our a helper to calculate the EOF alignment
authorChristoph Hellwig <hch@lst.de>
Mon, 19 Sep 2016 01:09:28 +0000 (11:09 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 19 Sep 2016 01:09:28 +0000 (11:09 +1000)
commitf8e3a8257538af8dbdd15d098c0cfba6ccbabe7a
tree760a12f5d4064d713c80c837f9c733c91552c467
parente9c4973638beff4b346d802fd9443975b041035d
xfs: factor our a helper to calculate the EOF alignment

And drop the pointless mp argument to xfs_iomap_eof_align_last_fsb,
while we're at it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_iomap.c