aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2018-06-22 06:24:38 +0000
committerDarrick J. Wong <[email protected]>2018-06-22 06:24:38 +0000
commite2ac836307e346969737c60075fdb01bed1af503 (patch)
tree56fe6860df31c4d016db3a430dbad9387f8b4e04 /lib/debugobjects.c
parentLinux 4.18-rc1 (diff)
downloadkernel-e2ac836307e346969737c60075fdb01bed1af503.tar.gz
kernel-e2ac836307e346969737c60075fdb01bed1af503.zip
xfs: simplify xfs_bmap_punch_delalloc_range
Instead of using xfs_bmapi_read to find delalloc extents and then punch them out using xfs_bunmapi, opencode the loop to iterate over the extents and call xfs_bmap_del_extent_delay directly. This both simplifies the code and reduces the number of extent tree lookups required. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Brian Foster <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions