mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Hongbo Li <lihongbo22@huawei.com>
To: Thorsten Blum <thorsten.blum@toblux.com>, <kent.overstreet@linux.dev>
Cc: <linux-bcachefs@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] bcachefs: Remove duplicate included headers
Date: Fri, 30 Aug 2024 09:26:56 +0800	[thread overview]
Message-ID: <9cf7c3b9-e9df-43cf-84fc-1e8a790c0763@huawei.com> (raw)
In-Reply-To: <20240829154949.109402-2-thorsten.blum@toblux.com>



On 2024/8/29 23:49, Thorsten Blum wrote:
> The header files dirent_format.h and disk_groups_format.h are included
> twice. Remove the redundant includes and the following warnings reported
> by make includecheck:
> 
>    disk_groups_format.h is included more than once
>    dirent_format.h is included more than once
> 
> Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
> ---
>   fs/bcachefs/bcachefs_format.h | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/fs/bcachefs/bcachefs_format.h b/fs/bcachefs/bcachefs_format.h
> index 14ce726bf5a3..b97fd0f75831 100644
> --- a/fs/bcachefs/bcachefs_format.h
> +++ b/fs/bcachefs/bcachefs_format.h
> @@ -499,8 +499,6 @@ struct bch_sb_field {
>   #include "disk_groups_format.h"
>   #include "extents_format.h"
>   #include "ec_format.h"
> -#include "dirent_format.h"
> -#include "disk_groups_format.h"

line 497 and line 499.

Reviewed-by: Hongbo Li <lihongbo22@huawei.com>


>   #include "inode_format.h"
>   #include "journal_seq_blacklist_format.h"
>   #include "logged_ops_format.h"

      reply	other threads:[~2024-08-30  1:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-29 15:49 Thorsten Blum
2024-08-30  1:26 ` Hongbo Li [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9cf7c3b9-e9df-43cf-84fc-1e8a790c0763@huawei.com \
    --to=lihongbo22@huawei.com \
    --cc=kent.overstreet@linux.dev \
    --cc=linux-bcachefs@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=thorsten.blum@toblux.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®