summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-05-17 09:16:22 +0200
committerAndrew Morton <akpm@linux-foundation.org>2023-06-10 02:44:14 +0200
commit6b81459c9cb0e11e30b07ff0a171c27f3650eb82 (patch)
treebe94bdf9961703f455bd3369351fec5a38856af8 /fs
parentfork: optimize memcg_charge_kernel_stack() a bit (diff)
downloadlinux-6b81459c9cb0e11e30b07ff0a171c27f3650eb82.tar.xz
linux-6b81459c9cb0e11e30b07ff0a171c27f3650eb82.zip
squashfs: don't include buffer_head.h
Squashfs has stopped using buffers heads in 93e72b3c612adcaca1 ("squashfs: migrate from ll_rw_block usage to BIO"). Link: https://lkml.kernel.org/r/20230517071622.245151-1-hch@lst.de Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Pankaj Raghav <p.raghav@samsung.com> Reviewed-by: Phillip Lougher <phillip@squashfs.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--fs/squashfs/block.c1
-rw-r--r--fs/squashfs/decompressor.c1
-rw-r--r--fs/squashfs/decompressor_multi_percpu.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/fs/squashfs/block.c b/fs/squashfs/block.c
index bed3bb8b27fa..cb4e48baa4ba 100644
--- a/fs/squashfs/block.c
+++ b/fs/squashfs/block.c
@@ -18,7 +18,6 @@
#include <linux/vfs.h>
#include <linux/slab.h>
#include <linux/string.h>
-#include <linux/buffer_head.h>
#include <linux/bio.h>
#include "squashfs_fs.h"
diff --git a/fs/squashfs/decompressor.c b/fs/squashfs/decompressor.c
index 8893cb9b4198..a676084be27e 100644
--- a/fs/squashfs/decompressor.c
+++ b/fs/squashfs/decompressor.c
@@ -11,7 +11,6 @@
#include <linux/types.h>
#include <linux/mutex.h>
#include <linux/slab.h>
-#include <linux/buffer_head.h>
#include "squashfs_fs.h"
#include "squashfs_fs_sb.h"
diff --git a/fs/squashfs/decompressor_multi_percpu.c b/fs/squashfs/decompressor_multi_percpu.c
index 1dfadf76ed9a..8a218e7c2390 100644
--- a/fs/squashfs/decompressor_multi_percpu.c
+++ b/fs/squashfs/decompressor_multi_percpu.c
@@ -7,7 +7,6 @@
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/percpu.h>
-#include <linux/buffer_head.h>
#include <linux/local_lock.h>
#include "squashfs_fs.h"