Skip to content

Commit 554b80d

Browse files
Christoph Hellwigkawasaki
authored andcommitted
iomap: header diet
Drop various unused #include statements. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Joanne Koong <[email protected]> Reviewed-by: "Darrick J. Wong" <[email protected]>
1 parent 198825c commit 554b80d

7 files changed

Lines changed: 0 additions & 25 deletions

File tree

fs/iomap/buffered-io.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,10 @@
33
* Copyright (C) 2010 Red Hat, Inc.
44
* Copyright (C) 2016-2023 Christoph Hellwig.
55
*/
6-
#include <linux/module.h>
7-
#include <linux/compiler.h>
8-
#include <linux/fs.h>
96
#include <linux/iomap.h>
10-
#include <linux/pagemap.h>
11-
#include <linux/uio.h>
127
#include <linux/buffer_head.h>
13-
#include <linux/dax.h>
148
#include <linux/writeback.h>
159
#include <linux/swap.h>
16-
#include <linux/bio.h>
17-
#include <linux/sched/signal.h>
1810
#include <linux/migrate.h>
1911
#include "internal.h"
2012
#include "trace.h"

fs/iomap/direct-io.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,9 @@
33
* Copyright (C) 2010 Red Hat, Inc.
44
* Copyright (c) 2016-2025 Christoph Hellwig.
55
*/
6-
#include <linux/module.h>
7-
#include <linux/compiler.h>
8-
#include <linux/fs.h>
96
#include <linux/fscrypt.h>
107
#include <linux/pagemap.h>
118
#include <linux/iomap.h>
12-
#include <linux/backing-dev.h>
13-
#include <linux/uio.h>
149
#include <linux/task_io_accounting_ops.h>
1510
#include "internal.h"
1611
#include "trace.h"

fs/iomap/fiemap.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
/*
33
* Copyright (c) 2016-2021 Christoph Hellwig.
44
*/
5-
#include <linux/module.h>
6-
#include <linux/compiler.h>
7-
#include <linux/fs.h>
85
#include <linux/iomap.h>
96
#include <linux/fiemap.h>
107
#include <linux/pagemap.h>

fs/iomap/iter.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
* Copyright (C) 2010 Red Hat, Inc.
44
* Copyright (c) 2016-2021 Christoph Hellwig.
55
*/
6-
#include <linux/fs.h>
76
#include <linux/iomap.h>
87
#include "trace.h"
98

fs/iomap/seek.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,8 @@
33
* Copyright (C) 2017 Red Hat, Inc.
44
* Copyright (c) 2018-2021 Christoph Hellwig.
55
*/
6-
#include <linux/module.h>
7-
#include <linux/compiler.h>
8-
#include <linux/fs.h>
96
#include <linux/iomap.h>
107
#include <linux/pagemap.h>
11-
#include <linux/pagevec.h>
128

139
static int iomap_seek_hole_iter(struct iomap_iter *iter,
1410
loff_t *hole_pos)

fs/iomap/swapfile.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
* Copyright (C) 2018 Oracle. All Rights Reserved.
44
* Author: Darrick J. Wong <[email protected]>
55
*/
6-
#include <linux/module.h>
7-
#include <linux/compiler.h>
8-
#include <linux/fs.h>
96
#include <linux/iomap.h>
107
#include <linux/swap.h>
118

fs/iomap/trace.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
* Copyright (c) 2019 Christoph Hellwig
44
*/
55
#include <linux/iomap.h>
6-
#include <linux/uio.h>
76

87
/*
98
* We include this last to have the helpers above available for the trace

0 commit comments

Comments
 (0)