iomap_read_inline_data never modifies the passed in iomap, so mark
it const.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
};
static int iomap_read_inline_data(struct inode *inode, struct page *page,
- struct iomap *iomap)
+ const struct iomap *iomap)
{
size_t size = i_size_read(inode) - iomap->offset;
size_t poff = offset_in_page(iomap->offset);