]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: refactor xfs_del_extent_real
authorChristoph Hellwig <hch@lst.de>
Tue, 17 Oct 2017 21:16:23 +0000 (14:16 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 26 Oct 2017 22:38:21 +0000 (15:38 -0700)
commit307449e7dff4877ebad802cf7773a905c0c0b36b
tree5db575a086bfe7a6bbe067d5233f9f6a3a4d9d41
parenta9d2ff07663ed7407a19d463526384575a0bd3eb
xfs: refactor xfs_del_extent_real

Use xfs_iext_update_extent to update entries in the in-core extent list.
This isolates the function from the detailed layout of the extent list,
and generally makes the code a lot more readable.

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>
fs/xfs/libxfs/xfs_bmap.c