Re: [PATCH] ext4: scope ret locally in ext4_try_to_trim_range()

From: Theodore Ts'o
Date: Thu Oct 28 2021 - 10:59:44 EST


On Fri, 20 Aug 2021 14:08:53 +0200, Lukas Bulwahn wrote:
> As commit 6920b3913235 ("ext4: add new helper interface
> ext4_try_to_trim_range()") moves some code into the separate function
> ext4_try_to_trim_range(), the use of the variable ret within that
> function is more limited and can be adjusted as well.
>
> Scope the use of the variable ret locally and drop dead assignments.
>
> [...]

Applied, thanks!

[1/1] ext4: scope ret locally in ext4_try_to_trim_range()
commit: fd7a2ed7b32a4ee41477a5326941b95650575c84

Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>