]> git.baikalelectronics.ru Git - kernel.git/commitdiff
mm: don't include <linux/blk-cgroup.h> in <linux/backing-dev.h>
authorChristoph Hellwig <hch@lst.de>
Mon, 20 Sep 2021 12:33:13 +0000 (14:33 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 12:17:01 +0000 (06:17 -0600)
There is no need to pull blk-cgroup.h and thus blkdev.h in here, so
break the include chain.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20210920123328.1399408-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
13 files changed:
arch/powerpc/platforms/cell/spufs/inode.c
block/blk-iolatency.c
block/blk-mq.c
block/bounce.c
drivers/md/dm-ima.c
fs/btrfs/compression.c
fs/btrfs/ctree.c
fs/f2fs/compress.c
fs/orangefs/super.c
fs/ramfs/inode.c
include/linux/backing-dev.h
mm/backing-dev.c
mm/swapfile.c

index bed05b644c2c548693dc43a43260450fe699d4cd..cb25acccd746e8ab30f7a4ef517c4e58b29e5b81 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/namei.h>
 #include <linux/pagemap.h>
 #include <linux/poll.h>
+#include <linux/seq_file.h>
 #include <linux/slab.h>
 
 #include <asm/prom.h>
index c0545f9da549ce213e70963fe40cfec2af509bb0..6593c7123b97e02a9c80154fd693a1a5d9c30794 100644 (file)
@@ -74,6 +74,7 @@
 #include <linux/sched/signal.h>
 #include <trace/events/block.h>
 #include <linux/blk-mq.h>
+#include <linux/blk-cgroup.h>
 #include "blk-rq-qos.h"
 #include "blk-stat.h"
 #include "blk.h"
index bc026372de4394eb003fde3c1b0de7a79df1fdc0..0fefe00cebd4e5d019f702ef5f462cec788b7397 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/slab.h>
 #include <linux/workqueue.h>
 #include <linux/smp.h>
+#include <linux/interrupt.h>
 #include <linux/llist.h>
 #include <linux/list_sort.h>
 #include <linux/cpu.h>
index 05fc7148489d718c1ce5fba9e40507522effa70d..7af1a72835b9977f5c77b24f17d18e3065aeddc2 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/pagemap.h>
 #include <linux/mempool.h>
 #include <linux/blkdev.h>
+#include <linux/blk-cgroup.h>
 #include <linux/backing-dev.h>
 #include <linux/init.h>
 #include <linux/hash.h>
index 2c5edfbd771179c389da28ccbf8ad05de94d25f1..957999998d703fc9a631819a27748d973eb7adde 100644 (file)
@@ -12,6 +12,7 @@
 #include "dm-ima.h"
 
 #include <linux/ima.h>
+#include <linux/sched/mm.h>
 #include <crypto/hash.h>
 #include <linux/crypto.h>
 #include <crypto/hash_info.h>
index 7869ad12bc6e198ea504e2e5058a498ed24380e6..ddc4f5436cc91cd9aab2c25498b05b7903b30abb 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/fs.h>
 #include <linux/pagemap.h>
 #include <linux/highmem.h>
+#include <linux/kthread.h>
 #include <linux/time.h>
 #include <linux/init.h>
 #include <linux/string.h>
index 84627cbd5b5b5cc6a2ddad82be8bb9e1bcc4474e..66290b214f2bc8ee04e41ba5c51f55a23bec6fb5 100644 (file)
@@ -7,6 +7,7 @@
 #include <linux/slab.h>
 #include <linux/rbtree.h>
 #include <linux/mm.h>
+#include <linux/error-injection.h>
 #include "ctree.h"
 #include "disk-io.h"
 #include "transaction.h"
index c1bf9ad4c2207fb9ff1d8aab94046ddbb280d389..20a083dc904231a31e6442f3112c4231ee304ff8 100644 (file)
@@ -7,6 +7,7 @@
 
 #include <linux/fs.h>
 #include <linux/f2fs_fs.h>
+#include <linux/moduleparam.h>
 #include <linux/writeback.h>
 #include <linux/backing-dev.h>
 #include <linux/lzo.h>
index 2f2e430461b2141cb76d6d1c210d9c7f8bdc7b48..8bb0a53a658b061b4dc0dc5c47fa191c660ce038 100644 (file)
@@ -11,6 +11,7 @@
 
 #include <linux/parser.h>
 #include <linux/hashtable.h>
+#include <linux/seq_file.h>
 
 /* a cache for orangefs-inode objects (i.e. orangefs inode private data) */
 static struct kmem_cache *orangefs_inode_cache;
index 65e7e56005b8f565f272a53d379d5b87065af3a4..e2302342a67f47ac14991ffc6e243705ee09507f 100644 (file)
@@ -38,6 +38,7 @@
 #include <linux/uaccess.h>
 #include <linux/fs_context.h>
 #include <linux/fs_parser.h>
+#include <linux/seq_file.h>
 #include "internal.h"
 
 struct ramfs_mount_opts {
index ac7f231b88258b7bbcc5c7bacfb4ad4551d46a8d..843bf4be675f349ec0ca3b028ec89e0513a19da7 100644 (file)
 #include <linux/blkdev.h>
 #include <linux/device.h>
 #include <linux/writeback.h>
-#include <linux/blk-cgroup.h>
 #include <linux/backing-dev-defs.h>
 #include <linux/slab.h>
 
+struct blkcg;
+
 static inline struct backing_dev_info *bdi_get(struct backing_dev_info *bdi)
 {
        kref_get(&bdi->refcnt);
index 4a9d4e27d0d9b0f62a29a783f524df6e7396f2d3..5245744437dc93e3e3dea6b4c91cbb0ddd1ab7dd 100644 (file)
@@ -2,8 +2,9 @@
 
 #include <linux/wait.h>
 #include <linux/rbtree.h>
-#include <linux/backing-dev.h>
 #include <linux/kthread.h>
+#include <linux/backing-dev.h>
+#include <linux/blk-cgroup.h>
 #include <linux/freezer.h>
 #include <linux/fs.h>
 #include <linux/pagemap.h>
index 22d10f7138487434a56bb37216b1fc868882212e..30db362749c06d4eabed3b12dbb5a33b888159c7 100644 (file)
@@ -18,7 +18,7 @@
 #include <linux/pagemap.h>
 #include <linux/namei.h>
 #include <linux/shmem_fs.h>
-#include <linux/blkdev.h>
+#include <linux/blk-cgroup.h>
 #include <linux/random.h>
 #include <linux/writeback.h>
 #include <linux/proc_fs.h>