Commit 3b7f363b authored by Thorsten Blum's avatar Thorsten Blum Committed by Tyler Hicks
Browse files

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: default avatarThorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: default avatarTyler Hicks <code@tyhicks.com>
parent 8b9bf58b
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1376,8 +1376,8 @@ 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__,
			ecryptfs_printk(KERN_ERR,
				"Error attempting to get packet size for tag 70; rc = [%d]\n",
				rc);
			filename->encrypted_filename_size = 0;
			goto out;