diff options
Diffstat (limited to 'fs/internal.h')
-rw-r--r-- | fs/internal.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/fs/internal.h b/fs/internal.h index ba0737649d4a..859178692ce4 100644 --- a/fs/internal.h +++ b/fs/internal.h | |||
@@ -12,6 +12,7 @@ | |||
12 | struct super_block; | 12 | struct super_block; |
13 | struct file_system_type; | 13 | struct file_system_type; |
14 | struct iomap; | 14 | struct iomap; |
15 | struct iomap_ops; | ||
15 | struct linux_binprm; | 16 | struct linux_binprm; |
16 | struct path; | 17 | struct path; |
17 | struct mount; | 18 | struct mount; |
@@ -164,3 +165,13 @@ extern struct dentry_operations ns_dentry_operations; | |||
164 | extern int do_vfs_ioctl(struct file *file, unsigned int fd, unsigned int cmd, | 165 | extern int do_vfs_ioctl(struct file *file, unsigned int fd, unsigned int cmd, |
165 | unsigned long arg); | 166 | unsigned long arg); |
166 | extern long vfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg); | 167 | extern long vfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg); |
168 | |||
169 | /* | ||
170 | * iomap support: | ||
171 | */ | ||
172 | typedef loff_t (*iomap_actor_t)(struct inode *inode, loff_t pos, loff_t len, | ||
173 | void *data, struct iomap *iomap); | ||
174 | |||
175 | loff_t iomap_apply(struct inode *inode, loff_t pos, loff_t length, | ||
176 | unsigned flags, struct iomap_ops *ops, void *data, | ||
177 | iomap_actor_t actor); | ||