Skip to content

Commit 1601fe9

Browse files
tobluxtyhicks
authored andcommitted
ecryptfs: Log function name only once in decode_and_decrypt_filename
ecryptfs_printk() already prints the function name using %s and __func__. Drop the redundant function name from the debug log message. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Signed-off-by: Tyler Hicks <code@tyhicks.com>
1 parent fb1b02d commit 1601fe9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

fs/ecryptfs/crypto.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1924,8 +1924,7 @@ int ecryptfs_decode_and_decrypt_filename(char **plaintext_name,
19241924
decoded_name_size);
19251925
if (rc) {
19261926
ecryptfs_printk(KERN_DEBUG,
1927-
"%s: Could not parse tag 70 packet from filename\n",
1928-
__func__);
1927+
"Could not parse tag 70 packet from filename\n");
19291928
goto out_free;
19301929
}
19311930
} else {

0 commit comments

Comments
 (0)