]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: introduce xfs_aligned_fsb_count
authorChristoph Hellwig <hch@lst.de>
Mon, 6 Feb 2017 18:42:26 +0000 (10:42 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 7 Feb 2017 01:47:46 +0000 (17:47 -0800)
commit3d3d56a3ae4ac9ab77b290670d5e8ecbe74ae00c
treef32b49d88486cff8a352e721afe58fcd25fce412
parent1182cf13404b05b1250f38ca6e28d36c765a209b
xfs: introduce xfs_aligned_fsb_count

Factor a helper to calculate the extent-size aligned block out of the
iomap code, so that it can be reused by the upcoming reflink dio code.

Signed-off-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_iomap.c
fs/xfs/xfs_iomap.h