summaryrefslogtreecommitdiff
path: root/fs/iomap/buffered-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/iomap/buffered-io.c')
-rw-r--r--fs/iomap/buffered-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/iomap/buffered-io.c b/fs/iomap/buffered-io.c
index 7e794a30806b..b8a1ba3fb957 100644
--- a/fs/iomap/buffered-io.c
+++ b/fs/iomap/buffered-io.c
@@ -206,7 +206,7 @@ struct iomap_readpage_ctx {
};
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);