commit | 57fc505d119d6e6bdf9b9b713215616a8cd2b8de | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Jun 01 09:03:08 2018 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Fri Jun 01 18:37:33 2018 -0700 |
tree | bf37938283929290de4c66bd2b6524d88c455b2c | |
parent | 6533b4e40d8be5f07336fc62ddaf35b1fb4028be [diff] |
iomap: add a iomap_sector helper Factor the repeated calculation of the on-disk sector for a given logical block into a littler helper. Signed-off-by: Christoph Hellwig <hch@lst.de> 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>