squashfs: don't include buffer_head.h

Message ID 20230517071622.245151-1-hch@lst.de
State New
Headers
Series squashfs: don't include buffer_head.h |

Commit Message

Christoph Hellwig May 17, 2023, 7:16 a.m. UTC
  Squashfs has stopped using buffers heads in 93e72b3c612adcaca1
("squashfs: migrate from ll_rw_block usage to BIO").

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 fs/squashfs/block.c                     | 1 -
 fs/squashfs/decompressor.c              | 1 -
 fs/squashfs/decompressor_multi_percpu.c | 1 -
 3 files changed, 3 deletions(-)
  

Comments

Pankaj Raghav May 17, 2023, 2:10 p.m. UTC | #1
On Wed, May 17, 2023 at 09:16:22AM +0200, Christoph Hellwig wrote:
> Squashfs has stopped using buffers heads in 93e72b3c612adcaca1
> ("squashfs: migrate from ll_rw_block usage to BIO").
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>

Looks good,
Reviewed-by: Pankaj Raghav <p.raghav@samsung.com>
  
Phillip Lougher May 17, 2023, 5:47 p.m. UTC | #2
On 17/05/2023 08:16, Christoph Hellwig wrote:
> Squashfs has stopped using buffers heads in 93e72b3c612adcaca1
> ("squashfs: migrate from ll_rw_block usage to BIO").
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>

Reviewed-by: Phillip Lougher <phillip@squashfs.org.uk>
  

Patch

diff --git a/fs/squashfs/block.c b/fs/squashfs/block.c
index bed3bb8b27fa3d..cb4e48baa4ba5b 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 8893cb9b419833..a676084be27e43 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 1dfadf76ed9ae8..8a218e7c2390f2 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"