iomap: add an iomap-based bmap implementation
authorChristoph Hellwig <hch@lst.de>
Fri, 1 Jun 2018 16:03:08 +0000 (09:03 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sat, 2 Jun 2018 01:37:33 +0000 (18:37 -0700)
commit89eb1906a9530ef694b2a5817c9498997722754f
tree03e9fcdf51b0203c380ff8f7086a61a8f286f9d4
parent57fc505d119d6e6bdf9b9b713215616a8cd2b8de
iomap: add an iomap-based bmap implementation

This adds a simple iomap-based implementation of the legacy ->bmap
interface.  Note that we can't easily add checks for rt or reflink
files, so these will have to remain in the callers.  This interface
just needs to die..

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>
fs/iomap.c
include/linux/iomap.h