diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2019-07-15 11:51:01 -0400 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-07-17 10:21:02 -0400 |
commit | 5d907307adc14cd5148b07629c2b4535acd06062 (patch) | |
tree | f661053298a15fbbac6e609cbbb01696f4ced1d2 /fs | |
parent | cb7181ff4b1ca1e4a9dbea8a3982142ce4ed73fd (diff) |
iomap: move internal declarations into fs/iomap/
Move internal function declarations out of fs/internal.h into
include/linux/iomap.h so that our transition is complete.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/dax.c | 1 | ||||
-rw-r--r-- | fs/internal.h | 10 | ||||
-rw-r--r-- | fs/iomap/apply.c | 2 | ||||
-rw-r--r-- | fs/iomap/fiemap.c | 2 | ||||
-rw-r--r-- | fs/iomap/seek.c | 2 | ||||
-rw-r--r-- | fs/iomap/swapfile.c | 2 |
6 files changed, 0 insertions, 19 deletions
@@ -26,7 +26,6 @@ | |||
26 | #include <linux/mmu_notifier.h> | 26 | #include <linux/mmu_notifier.h> |
27 | #include <linux/iomap.h> | 27 | #include <linux/iomap.h> |
28 | #include <asm/pgalloc.h> | 28 | #include <asm/pgalloc.h> |
29 | #include "internal.h" | ||
30 | 29 | ||
31 | #define CREATE_TRACE_POINTS | 30 | #define CREATE_TRACE_POINTS |
32 | #include <trace/events/fs_dax.h> | 31 | #include <trace/events/fs_dax.h> |
diff --git a/fs/internal.h b/fs/internal.h index 2f3c3de51fad..2b0bebd67904 100644 --- a/fs/internal.h +++ b/fs/internal.h | |||
@@ -182,15 +182,5 @@ extern const struct dentry_operations ns_dentry_operations; | |||
182 | extern int do_vfs_ioctl(struct file *file, unsigned int fd, unsigned int cmd, | 182 | extern int do_vfs_ioctl(struct file *file, unsigned int fd, unsigned int cmd, |
183 | unsigned long arg); | 183 | unsigned long arg); |
184 | 184 | ||
185 | /* | ||
186 | * iomap support: | ||
187 | */ | ||
188 | typedef loff_t (*iomap_actor_t)(struct inode *inode, loff_t pos, loff_t len, | ||
189 | void *data, struct iomap *iomap); | ||
190 | |||
191 | loff_t iomap_apply(struct inode *inode, loff_t pos, loff_t length, | ||
192 | unsigned flags, const struct iomap_ops *ops, void *data, | ||
193 | iomap_actor_t actor); | ||
194 | |||
195 | /* direct-io.c: */ | 185 | /* direct-io.c: */ |
196 | int sb_init_dio_done_wq(struct super_block *sb); | 186 | int sb_init_dio_done_wq(struct super_block *sb); |
diff --git a/fs/iomap/apply.c b/fs/iomap/apply.c index 9f956cf23867..54c02aecf3cd 100644 --- a/fs/iomap/apply.c +++ b/fs/iomap/apply.c | |||
@@ -8,8 +8,6 @@ | |||
8 | #include <linux/fs.h> | 8 | #include <linux/fs.h> |
9 | #include <linux/iomap.h> | 9 | #include <linux/iomap.h> |
10 | 10 | ||
11 | #include "../internal.h" | ||
12 | |||
13 | /* | 11 | /* |
14 | * Execute a iomap write on a segment of the mapping that spans a | 12 | * Execute a iomap write on a segment of the mapping that spans a |
15 | * contiguous range of pages that have identical block mapping state. | 13 | * contiguous range of pages that have identical block mapping state. |
diff --git a/fs/iomap/fiemap.c b/fs/iomap/fiemap.c index 1fc88ec1584d..f26fdd36e383 100644 --- a/fs/iomap/fiemap.c +++ b/fs/iomap/fiemap.c | |||
@@ -7,8 +7,6 @@ | |||
7 | #include <linux/fs.h> | 7 | #include <linux/fs.h> |
8 | #include <linux/iomap.h> | 8 | #include <linux/iomap.h> |
9 | 9 | ||
10 | #include "../internal.h" | ||
11 | |||
12 | struct fiemap_ctx { | 10 | struct fiemap_ctx { |
13 | struct fiemap_extent_info *fi; | 11 | struct fiemap_extent_info *fi; |
14 | struct iomap prev; | 12 | struct iomap prev; |
diff --git a/fs/iomap/seek.c b/fs/iomap/seek.c index 715442eb71aa..c04bad4b2b43 100644 --- a/fs/iomap/seek.c +++ b/fs/iomap/seek.c | |||
@@ -10,8 +10,6 @@ | |||
10 | #include <linux/pagemap.h> | 10 | #include <linux/pagemap.h> |
11 | #include <linux/pagevec.h> | 11 | #include <linux/pagevec.h> |
12 | 12 | ||
13 | #include "../internal.h" | ||
14 | |||
15 | /* | 13 | /* |
16 | * Seek for SEEK_DATA / SEEK_HOLE within @page, starting at @lastoff. | 14 | * Seek for SEEK_DATA / SEEK_HOLE within @page, starting at @lastoff. |
17 | * Returns true if found and updates @lastoff to the offset in file. | 15 | * Returns true if found and updates @lastoff to the offset in file. |
diff --git a/fs/iomap/swapfile.c b/fs/iomap/swapfile.c index b79c33631263..152a230f668d 100644 --- a/fs/iomap/swapfile.c +++ b/fs/iomap/swapfile.c | |||
@@ -9,8 +9,6 @@ | |||
9 | #include <linux/iomap.h> | 9 | #include <linux/iomap.h> |
10 | #include <linux/swap.h> | 10 | #include <linux/swap.h> |
11 | 11 | ||
12 | #include "../internal.h" | ||
13 | |||
14 | /* Swapfile activation */ | 12 | /* Swapfile activation */ |
15 | 13 | ||
16 | struct iomap_swapfile_info { | 14 | struct iomap_swapfile_info { |