Re: [PATCH] ecryptfs: remove redundant variable found_auth_tok
Tyler Hicks <[email protected]> Mon, 20 Apr 2026 21:50:58 -0500
| Newsgroups | org.kernel.vger.ecryptfs,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <177673965982.2803793.17321023234031184810.b4-ty@b4> |
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