mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
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>
This commit is contained in:
parent
8b9bf58bc3
commit
3b7f363b7b
|
|
@ -1376,9 +1376,9 @@ ecryptfs_encrypt_filename(struct ecryptfs_filename *filename,
|
|||
mount_crypt_stat, NULL,
|
||||
filename->filename_size);
|
||||
if (rc) {
|
||||
printk(KERN_ERR "%s: Error attempting to get packet "
|
||||
"size for tag 72; rc = [%d]\n", __func__,
|
||||
rc);
|
||||
ecryptfs_printk(KERN_ERR,
|
||||
"Error attempting to get packet size for tag 70; rc = [%d]\n",
|
||||
rc);
|
||||
filename->encrypted_filename_size = 0;
|
||||
goto out;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user