Re: [PATCH] ext4: Remove unreachable code

2021-01-30 Thread Andreas Dilger
On Jan 29, 2021, at 11:58 AM, Vinicius Tinti wrote: > > By enabling -Wunreachable-code-aggressive on Clang the following code > paths are unreachable. > > Commit dd73b5d5cb67 ("ext4: convert dx_probe() to use the ERR_PTR > convention") > Commit ac27a0ec112a ("[PATCH] ext4: initial copy of files

Re: [PATCH] ext4: Remove unreachable code

2021-01-29 Thread Nathan Chancellor
On Fri, Jan 29, 2021 at 06:58:56PM +, Vinicius Tinti wrote: > By enabling -Wunreachable-code-aggressive on Clang the following code > paths are unreachable. > > Commit dd73b5d5cb67 ("ext4: convert dx_probe() to use the ERR_PTR > convention") > Commit ac27a0ec112a ("[PATCH] ext4: initial copy

[PATCH] ext4: Remove unreachable code

2021-01-29 Thread Vinicius Tinti
By enabling -Wunreachable-code-aggressive on Clang the following code paths are unreachable. Commit dd73b5d5cb67 ("ext4: convert dx_probe() to use the ERR_PTR convention") Commit ac27a0ec112a ("[PATCH] ext4: initial copy of files from ext3") Clang warns: fs/ext4/namei.c:831:17: warning: code