Christoph Hellwig 0362572138 xfs: simplify xfs_aops_discard_page
Instead of looking at the buffer heads to see if a block is delalloc just
call xfs_bmap_punch_delalloc_range on the whole page - this will leave
any non-delalloc block intact and handle the iteration for us.  As a side
effect one more place stops caring about buffer heads and we can remove the
xfs_check_page_type function entirely.

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>
2018-07-11 22:25:57 -07:00
..
2018-06-12 16:19:22 -07:00
2018-07-01 12:38:16 -07:00
2018-06-11 10:16:13 -07:00
2018-06-15 07:55:24 +09:00
2018-06-22 06:21:34 +09:00
2018-07-11 22:25:57 -07:00
2018-06-15 18:11:26 -03:00
2018-06-07 17:34:40 -07:00
2018-06-08 17:21:52 -07:00
2018-06-07 17:34:35 -07:00
2018-06-11 08:22:34 -07:00