Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ecryptfs: Fix tag number in encrypt_filename() error message

Report the correct tag number (70) instead of tag 72.

Use ecryptfs_printk() and reformat the string to silence the checkpatch
warning: "WARNING: quoted string split across lines".

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

authored by

Thorsten Blum and committed by
Tyler Hicks
3b7f363b 8b9bf58b

+3 -3
+3 -3
fs/ecryptfs/crypto.c
··· 1376 1376 mount_crypt_stat, NULL, 1377 1377 filename->filename_size); 1378 1378 if (rc) { 1379 - printk(KERN_ERR "%s: Error attempting to get packet " 1380 - "size for tag 72; rc = [%d]\n", __func__, 1381 - rc); 1379 + ecryptfs_printk(KERN_ERR, 1380 + "Error attempting to get packet size for tag 70; rc = [%d]\n", 1381 + rc); 1382 1382 filename->encrypted_filename_size = 0; 1383 1383 goto out; 1384 1384 }