]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: pass a struct xfs_bmbt_irec to xfs_bmbt_update
authorChristoph Hellwig <hch@lst.de>
Fri, 17 Nov 2017 04:11:31 +0000 (22:11 -0600)
committerEric Sandeen <sandeen@redhat.com>
Fri, 17 Nov 2017 04:11:31 +0000 (22:11 -0600)
commitd0e5f1ff2663b391e9c9f6113aa32f6d2212a347
tree63d9ffca097c7b42d380dc761226614565f93e26
parentfd19685db8b23c6416f2da87cc1c289c866789ac
xfs: pass a struct xfs_bmbt_irec to xfs_bmbt_update

Source kernel commit: a67d00a55507dc324037f182563e10339945721a

Now that we've massaged the callers into the right form we can always
pass the actual extent record instead of the individual fields.

With that xfs_bmbt_disk_set_allf can go away, and xfs_bmbt_disk_set_all
can be merged into the former implementation of xfs_bmbt_disk_set_allf.

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>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_bmap.c
libxfs/xfs_bmap_btree.c
libxfs/xfs_bmap_btree.h