]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdfde1ee99d51f65c4b6655a6d4249ea4d355e303
tree760a12f5d4064d713c80c837f9c733c91552c467
parentdd0d86f8a7a9f00d3de61576ce6cd96246ee7a3b
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