diff options
author | Christoph Hellwig <hch@lst.de> | 2017-01-28 08:20:26 +0100 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-01-31 01:32:25 +0100 |
commit | 8ff6daa17b6a64e59bbabaa116b9bd854fa4da1f (patch) | |
tree | 2e3aff37a0a2d813849a5cd73641d3df29955fdc /fs/internal.h | |
parent | xfs: remove boilerplate around xfs_btree_init_block (diff) | |
download | linux-8ff6daa17b6a64e59bbabaa116b9bd854fa4da1f.tar.xz linux-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.h | 2 |
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: */ |