[PATCH] btrfs: remove duplicate include of delayed-inode.h

Chen Ni posted 1 patch 1 month, 2 weeks ago
fs/btrfs/disk-io.c | 1 -
1 file changed, 1 deletion(-)
[PATCH] btrfs: remove duplicate include of delayed-inode.h
Posted by Chen Ni 1 month, 2 weeks ago
Remove duplicate inclusion of delayed-inode.h in disk-io.c to clean up
redundant code.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
---
 fs/btrfs/disk-io.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 13e400046c87..09c2ea2f82f2 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -50,7 +50,6 @@
 #include "relocation.h"
 #include "scrub.h"
 #include "super.h"
-#include "delayed-inode.h"
 
 #define BTRFS_SUPER_FLAG_SUPP	(BTRFS_HEADER_FLAG_WRITTEN |\
 				 BTRFS_HEADER_FLAG_RELOC |\
-- 
2.25.1
Re: [PATCH] btrfs: remove duplicate include of delayed-inode.h
Posted by Filipe Manana 1 month, 2 weeks ago
On Wed, Feb 11, 2026 at 4:41 AM Chen Ni <nichen@iscas.ac.cn> wrote:
>
> Remove duplicate inclusion of delayed-inode.h in disk-io.c to clean up
> redundant code.
>
> Signed-off-by: Chen Ni <nichen@iscas.ac.cn>

Reviewed-by: Filipe Manana <fdmanana@suse.com>

Pushed it to the github for-next branch, thanks.

> ---
>  fs/btrfs/disk-io.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
> index 13e400046c87..09c2ea2f82f2 100644
> --- a/fs/btrfs/disk-io.c
> +++ b/fs/btrfs/disk-io.c
> @@ -50,7 +50,6 @@
>  #include "relocation.h"
>  #include "scrub.h"
>  #include "super.h"
> -#include "delayed-inode.h"
>
>  #define BTRFS_SUPER_FLAG_SUPP  (BTRFS_HEADER_FLAG_WRITTEN |\
>                                  BTRFS_HEADER_FLAG_RELOC |\
> --
> 2.25.1
>
>