ecryptfs: Fix typo in message
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 24 Feb 2021 11:30:59 +0000 (12:30 +0100)
committerTyler Hicks <code@tyhicks.com>
Mon, 19 Apr 2021 04:42:13 +0000 (04:42 +0000)
ecryptfs_decrypt_page() issues a warning "Error encrypting extent". This
should be "Error decrypting extent" instead.

Fixes: 0216f7f79217 ("eCryptfs: replace encrypt, decrypt, and inode size write")
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Tyler Hicks <code@tyhicks.com>
fs/ecryptfs/crypto.c

index 147ccb5..345f806 100644 (file)
@@ -535,7 +535,7 @@ int ecryptfs_decrypt_page(struct page *page)
                rc = crypt_extent(crypt_stat, page, page,
                                  extent_offset, DECRYPT);
                if (rc) {
-                       printk(KERN_ERR "%s: Error encrypting extent; "
+                       printk(KERN_ERR "%s: Error decrypting extent; "
                               "rc = [%d]\n", __func__, rc);
                        goto out;
                }