Blame SOURCES/0104-mm-don-t-include-linux-blkdev.h-in-linux-backing-dev.patch

2cbd18
From ccdf774189b6466457ca9c7de1fe9ed18547d249 Mon Sep 17 00:00:00 2001
2cbd18
From: Christoph Hellwig <hch@lst.de>
2cbd18
Date: Mon, 20 Sep 2021 14:33:14 +0200
2cbd18
Subject: [Backport ccdf774189b6] mm: don't include <linux/blkdev.h> in
2cbd18
 <linux/backing-dev.h>
2cbd18
2cbd18
Move inode_to_bdi out of line to avoid having to include blkdev.h.
2cbd18
2cbd18
Signed-off-by: Christoph Hellwig <hch@lst.de>
2cbd18
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
2cbd18
Link: https://lore.kernel.org/r/20210920123328.1399408-4-hch@lst.de
2cbd18
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2cbd18
---
2cbd18
 src/file.c | 1 +
2cbd18
 1 file changed, 1 insertion(+)
2cbd18
2cbd18
diff --git a/src/file.c b/src/file.c
2cbd18
index 43b1451bff539576cd03c0f624708bf65b959270..a3cd3c3f091ec58b3d0626ae4e125555c11d8593 100644
2cbd18
--- a/src/file.c
2cbd18
+++ b/src/file.c
2cbd18
@@ -8,6 +8,7 @@
2cbd18
  */
2cbd18
 
2cbd18
 #include <linux/backing-dev.h>
2cbd18
+#include <linux/blkdev.h>
2cbd18
 #include <linux/buffer_head.h>
2cbd18
 #include <linux/compat.h>
2cbd18
 #include <linux/falloc.h>
2cbd18
-- 
2cbd18
2.31.1
2cbd18