Re: [PATCH v3] ext4: Enable code path when DX_DEBUG is set

2021-02-03 Thread Vinicius Tinti
On Wed, Feb 3, 2021 at 2:39 AM Theodore Ts'o wrote: > > On Tue, Feb 02, 2021 at 04:28:37PM +, Vinicius Tinti wrote: > > Clang with -Wunreachable-code-aggressive is being used to try to find > > unreachable code that could cause potential bugs. There is no plan to > > enable it by default. > >

Re: [PATCH v3] ext4: Enable code path when DX_DEBUG is set

2021-02-02 Thread Theodore Ts'o
On Tue, Feb 02, 2021 at 04:28:37PM +, Vinicius Tinti wrote: > Clang with -Wunreachable-code-aggressive is being used to try to find > unreachable code that could cause potential bugs. There is no plan to > enable it by default. > > The following code was detected as unreachable: > > fs/ext4/n

[PATCH v3] ext4: Enable code path when DX_DEBUG is set

2021-02-02 Thread Vinicius Tinti
Clang with -Wunreachable-code-aggressive is being used to try to find unreachable code that could cause potential bugs. There is no plan to enable it by default. The following code was detected as unreachable: fs/ext4/namei.c:831:17: warning: code will never be executed [-Wunreachable-code]