]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ecryptfs: Remove redundant if checks in encrypt_and_encode_filename
authorThorsten Blum <thorsten.blum@linux.dev>
Mon, 9 Mar 2026 22:48:24 +0000 (23:48 +0100)
committerTyler Hicks <code@tyhicks.com>
Thu, 26 Mar 2026 03:39:27 +0000 (22:39 -0500)
commitfb1b02dc02da0ff63a5965056db0c9f77842bd19
tree413ad70c355f54f607d0c9aeb9ad074eec6a37cc
parent3b7f363b7bba203318c77d91c131123cf059cdbb
ecryptfs: Remove redundant if checks in encrypt_and_encode_filename

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.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Tyler Hicks <code@tyhicks.com>
fs/ecryptfs/crypto.c