fs: use ->is_partially_uptodate in page_cache_seek_hole_data
authorChristoph Hellwig <hch@lst.de>
Fri, 1 Jun 2018 16:05:15 +0000 (09:05 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sat, 2 Jun 2018 01:37:33 +0000 (18:37 -0700)
commitafd9d6a1df75807684fa40dab77c52e104e5c74b
tree6411e69f4f2c8c64aceb79f17448c93368de4d68
parentbd56b3e14410b8cf6a4c13c94f7065341b179517
fs: use ->is_partially_uptodate in page_cache_seek_hole_data

This way the implementation doesn't depend on buffer_head internals.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/iomap.c