commit | 9b2970aacfd9aa5d9bad377a554a002b398f882e | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Jun 29 11:43:21 2017 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Sun Jul 02 22:46:13 2017 -0700 |
tree | 0e68098eb59d45e7df44d0b220ecfe073063ec51 | |
parent | 0ed3b0d45fd39142e418220f518c8959c1a5f596 [diff] |
xfs: Switch to iomap for SEEK_HOLE / SEEK_DATA Switch to the iomap_seek_hole and iomap_seek_data helpers for implementing lseek SEEK_HOLE / SEEK_DATA, and remove all the code that isn't needed any more. Based on patches from Andreas Gruenbacher <agruenba@redhat.com>. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>