Andreas Gruenbacher 19fe5f643f iomap: Switch from blkno to disk offset
Replace iomap->blkno, the sector number, with iomap->addr, the disk
offset in bytes.  For invalid disk offsets, use the special value
IOMAP_NULL_ADDR instead of IOMAP_NULL_BLOCK.

This allows to use iomap for mappings which are not block aligned, such
as inline data on ext4.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>  # iomap, xfs
Reviewed-by: Jan Kara <jack@suse.cz>
2017-10-01 17:55:54 -04:00
..
2016-10-04 11:05:44 -07:00
2017-09-02 08:22:19 -07:00
2017-04-03 15:18:17 -07:00
2017-09-02 08:22:19 -07:00
2017-08-04 13:43:36 -07:00
2017-09-02 08:22:19 -07:00
2017-04-03 15:18:17 -07:00
2017-09-01 10:55:30 -07:00
2017-09-01 10:55:30 -07:00