xfs: Comment out unreachable code within xchk_fscounters()
[email protected]
maintainerPATCH 1/1 xfs: Comment out unreachable code within xchk_fscounters()
From: Carlos Maiolino <[email protected]>
Comment the code out so kernel test robot stop complaining about it every single test build.
Signed-off-by Carlos Maiolino <[email protected]>
Signed-off-by Carlos Maiolino <[email protected]>
--- fs/xfs/scrub/fscounters.c | 2 ++ 1 file changed, 2 insertions(+)
fs/xfs/scrub/fscounters.c +2 -0
@@ -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 }
Signature · 1 line
2.30.2
Carlos Maiolino
maintainerQuoted 4 lines · On Tue, Jun 06, 2023 at 03:37:10PM +0200, [email protected] wrote:
From: Carlos Maiolino <[email protected]>
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.
Quoted 28 lines
Signed-off-by Carlos Maiolino <[email protected]>Signed-off-by Carlos Maiolino <[email protected]>--- fs/xfs/scrub/fscounters.c | 2 ++ 1 file changed, 2 insertions(+)fs/xfs/scrub/fscounters.c +2
-1@@ -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