public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xfs: Comment out unreachable code within xchk_fscounters()
@ 2023-06-06 13:37 ` cem
  2023-06-06 13:43   ` Carlos Maiolino
  0 siblings, 1 reply; 2+ messages in thread
From: cem @ 2023-06-06 13:37 UTC (permalink / raw)
  To: linux-xfs

From: Carlos Maiolino <cem@kernel.org>

Comment the code out so kernel test robot stop complaining about it
every single test build.

Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
---
 fs/xfs/scrub/fscounters.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fs/xfs/scrub/fscounters.c b/fs/xfs/scrub/fscounters.c
index e382a35e98d88..b1148bea7fabc 100644
--- a/fs/xfs/scrub/fscounters.c
+++ b/fs/xfs/scrub/fscounters.c
@@ -452,6 +452,7 @@ xchk_fscounters(
 	 */
 	return 0;
 
+#if 0
 	/*
 	 * If ifree exceeds icount by more than the minimum variance then
 	 * something's probably wrong with the counters.
@@ -489,4 +490,5 @@ xchk_fscounters(
 		xchk_set_corrupt(sc);
 
 	return 0;
+#endif
 }
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] xfs: Comment out unreachable code within xchk_fscounters()
  2023-06-06 13:37 ` [PATCH] xfs: Comment out unreachable code within xchk_fscounters() cem
@ 2023-06-06 13:43   ` Carlos Maiolino
  0 siblings, 0 replies; 2+ messages in thread
From: Carlos Maiolino @ 2023-06-06 13:43 UTC (permalink / raw)
  To: linux-xfs

On Tue, Jun 06, 2023 at 03:37:10PM +0200, cem@kernel.org wrote:
> From: Carlos Maiolino <cem@kernel.org>
> 
> Comment the code out so kernel test robot stop complaining about it
> every single test build.

Please, ignore this, as commenting out the unreachable code created another
warnings. I'll fix it and resend the patch. Sorry the noise.


> 
> Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com>
> Signed-off-by: Carlos Maiolino <cem@kernel.org>
> ---
>  fs/xfs/scrub/fscounters.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/fs/xfs/scrub/fscounters.c b/fs/xfs/scrub/fscounters.c
> index e382a35e98d88..b1148bea7fabc 100644
> --- a/fs/xfs/scrub/fscounters.c
> +++ b/fs/xfs/scrub/fscounters.c
> @@ -452,6 +452,7 @@ xchk_fscounters(
>  	 */
>  	return 0;
> 
> +#if 0
>  	/*
>  	 * If ifree exceeds icount by more than the minimum variance then
>  	 * something's probably wrong with the counters.
> @@ -489,4 +490,5 @@ xchk_fscounters(
>  		xchk_set_corrupt(sc);
> 
>  	return 0;
> +#endif
>  }
> --
> 2.30.2
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-06 13:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <T_8tV8A10oGZEuptzXoj3XFlD_-Ubqx0imHpEcDfSogB7Zfy2zaQhiSq2U9pkW3E65U6VKUJ46394RCv5lGGMA==@protonmail.internalid>
2023-06-06 13:37 ` [PATCH] xfs: Comment out unreachable code within xchk_fscounters() cem
2023-06-06 13:43   ` Carlos Maiolino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox