Re: [PATCH] ext4: disable retry logic in ext4_set_encrypted_filename

2016-01-02 Thread Theodore Ts'o
On Sat, Jan 02, 2016 at 08:50:11PM +0100, Arnd Bergmann wrote: > gcc correctly warns that the ctx variable in ext4_set_encrypted_filename > has gone out of scope in ext4_set_encrypted_filename if we enter the > retry path and a 'goto' into the previous code block can not guarantee > to get the

[PATCH] ext4: disable retry logic in ext4_set_encrypted_filename

2016-01-02 Thread Arnd Bergmann
gcc correctly warns that the ctx variable in ext4_set_encrypted_filename has gone out of scope in ext4_set_encrypted_filename if we enter the retry path and a 'goto' into the previous code block can not guarantee to get the contents back: fs/ext4/namei.c: In function

[PATCH] ext4: disable retry logic in ext4_set_encrypted_filename

2016-01-02 Thread Arnd Bergmann
gcc correctly warns that the ctx variable in ext4_set_encrypted_filename has gone out of scope in ext4_set_encrypted_filename if we enter the retry path and a 'goto' into the previous code block can not guarantee to get the contents back: fs/ext4/namei.c: In function

Re: [PATCH] ext4: disable retry logic in ext4_set_encrypted_filename

2016-01-02 Thread Theodore Ts'o
On Sat, Jan 02, 2016 at 08:50:11PM +0100, Arnd Bergmann wrote: > gcc correctly warns that the ctx variable in ext4_set_encrypted_filename > has gone out of scope in ext4_set_encrypted_filename if we enter the > retry path and a 'goto' into the previous code block can not guarantee > to get the