[lvc-project] [PATCH] ecryptfs: remove redundant variable found_auth_tok
Tyler Hicks
code at tyhicks.com
Tue Apr 21 05:50:58 MSK 2026
On Sun, 12 Apr 2026 16:50:08 +0300, Alexey Velichayshiy wrote:
> The found_auth_tok variable is no longer needed, as the fact of finding
> a token is determined directly by jumping to the found_matching_auth_tok
> label inside the loop.
>
> Remove found_auth_tok, simplifying the function logic.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> [...]
Thank you! This has been applied to the next branch of the tyhicks/ecryptfs.git tree.
Note that I made a small change by unsplitting the error message that is passed
to ecryptfs_printk().
You can find a direct link below but please be aware that the commit hash is
unstable and, therefore, the URL may not be valid in the future.
[1/1] ecryptfs: remove redundant variable found_auth_tok
https://git.kernel.org/tyhicks/ecryptfs/c/0be6d8f0e111deb765c0bc01c1fe5d9920fe2fcd
Tyler
More information about the lvc-project
mailing list