Skip to content

Commit 26473f8

Browse files
committed
Merge tag 'iomap-5.3-merge-4' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
Pull iomap split/cleanup from Darrick Wong: "As promised, here's the second part of the iomap merge for 5.3, in which we break up iomap.c into smaller files grouped by functional area so that it'll be easier in the long run to maintain cohesiveness of code units and to review incoming patches. There are no functional changes and fs/iomap.c split cleanly. Summary: - Regroup the fs/iomap.c code by major functional area so that we can start development for 5.4 from a more stable base" * tag 'iomap-5.3-merge-4' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux: iomap: move internal declarations into fs/iomap/ iomap: move the main iteration code into a separate file iomap: move the buffered IO code into a separate file iomap: move the direct IO code into a separate file iomap: move the SEEK_HOLE code into a separate file iomap: move the file mapping reporting code into a separate file iomap: move the swapfile code into a separate file iomap: start moving code to fs/iomap/
2 parents 4f5ed13 + 5d90730 commit 26473f8

13 files changed

Lines changed: 2277 additions & 2217 deletions

File tree

‎MAINTAINERS‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8415,6 +8415,7 @@ L: linux-fsdevel@vger.kernel.org
84158415
T: git git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git
84168416
S: Supported
84178417
F: fs/iomap.c
8418+
F: fs/iomap/
84188419
F: include/linux/iomap.h
84198420

84208421
IOMMU DRIVERS

‎fs/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ obj-$(CONFIG_COREDUMP) += coredump.o
5252
obj-$(CONFIG_SYSCTL) += drop_caches.o
5353

5454
obj-$(CONFIG_FHANDLE) += fhandle.o
55-
obj-$(CONFIG_FS_IOMAP) += iomap.o
55+
obj-y += iomap/
5656

5757
obj-y += quota/
5858

‎fs/dax.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
#include <linux/mmu_notifier.h>
2727
#include <linux/iomap.h>
2828
#include <asm/pgalloc.h>
29-
#include "internal.h"
3029

3130
#define CREATE_TRACE_POINTS
3231
#include <trace/events/fs_dax.h>

‎fs/internal.h‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -185,15 +185,5 @@ extern const struct dentry_operations ns_dentry_operations;
185185
extern int do_vfs_ioctl(struct file *file, unsigned int fd, unsigned int cmd,
186186
unsigned long arg);
187187

188-
/*
189-
* iomap support:
190-
*/
191-
typedef loff_t (*iomap_actor_t)(struct inode *inode, loff_t pos, loff_t len,
192-
void *data, struct iomap *iomap);
193-
194-
loff_t iomap_apply(struct inode *inode, loff_t pos, loff_t length,
195-
unsigned flags, const struct iomap_ops *ops, void *data,
196-
iomap_actor_t actor);
197-
198188
/* direct-io.c: */
199189
int sb_init_dio_done_wq(struct super_block *sb);

0 commit comments

Comments
 (0)