summaryrefslogtreecommitdiffstats
path: root/fs/internal.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-01-27 23:20:26 -0800
committerDarrick J. Wong <darrick.wong@oracle.com>2017-01-30 16:32:25 -0800
commit8ff6daa17b6a64e59bbabaa116b9bd854fa4da1f (patch)
tree2e3aff37a0a2d813849a5cd73641d3df29955fdc /fs/internal.h
parentb6f41e448277ff080fea734b93121e6cd7513f0c (diff)
downloadlinux-stable-8ff6daa17b6a64e59bbabaa116b9bd854fa4da1f.tar.gz
linux-stable-8ff6daa17b6a64e59bbabaa116b9bd854fa4da1f.tar.bz2
linux-stable-8ff6daa17b6a64e59bbabaa116b9bd854fa4da1f.zip
iomap: constify struct iomap_ops
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/internal.h')
-rw-r--r--fs/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/internal.h b/fs/internal.h
index b63cf3af2dc2..11c6d89dce9c 100644
--- a/fs/internal.h
+++ b/fs/internal.h
@@ -182,7 +182,7 @@ typedef loff_t (*iomap_actor_t)(struct inode *inode, loff_t pos, loff_t len,
void *data, struct iomap *iomap);
loff_t iomap_apply(struct inode *inode, loff_t pos, loff_t length,
- unsigned flags, struct iomap_ops *ops, void *data,
+ unsigned flags, const struct iomap_ops *ops, void *data,
iomap_actor_t actor);
/* direct-io.c: */