Re: [PATCH RESEND] ecryptfs: Remove redundant if checks in encrypt_and_encode_filename

From: Tyler Hicks

Date: Thu Mar 26 2026 - 01:00:19 EST


On Mon, 09 Mar 2026 23:48:24 +0100, Thorsten Blum wrote:
> The outer if already checks if 'mount_crypt_stat' is true. Drop checking
> 'mount_crypt_stat' again. Use ecryptfs_printk() while we're at it.

Thank you! This has been applied to the next branch of the tyhicks/ecryptfs.git tree.

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 if checks in encrypt_and_encode_filename
https://git.kernel.org/tyhicks/ecryptfs/c/fb1b02dc02da0ff63a5965056db0c9f77842bd19

Tyler