summaryrefslogtreecommitdiffstats
path: root/mm/swapfile.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-04-20 06:27:19 +0200
committerJens Axboe <axboe@kernel.dk>2022-05-02 22:06:20 +0200
commitc97ab271576dec2170e7b804cb05f7617b30fed9 (patch)
treeffb9c835dcca1476fa57b7ea68ce84f382e89027 /mm/swapfile.c
parentblk-cgroup: remove pointless CONFIG_BLOCK ifdefs (diff)
downloadlinux-c97ab271576dec2170e7b804cb05f7617b30fed9.tar.xz
linux-c97ab271576dec2170e7b804cb05f7617b30fed9.zip
blk-cgroup: remove unneeded includes from <linux/blk-cgroup.h>
Remove all the includes that aren't actually needed from <linux/blk-cgroup.h> and push them to the actual source files where needed. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Tejun Heo <tj@kernel.org> Link: https://lore.kernel.org/r/20220420042723.1010598-12-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'mm/swapfile.c')
-rw-r--r--mm/swapfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/swapfile.c b/mm/swapfile.c
index a2b31fea0c42..981a6e85c88e 100644
--- a/mm/swapfile.c
+++ b/mm/swapfile.c
@@ -6,6 +6,7 @@
* Swap reorganised 29.12.95, Stephen Tweedie
*/
+#include <linux/blkdev.h>
#include <linux/mm.h>
#include <linux/sched/mm.h>
#include <linux/sched/task.h>