diff options
author | Michael Halcrow <mike@halcrow.us> | 2008-02-06 04:38:35 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 13:41:12 -0500 |
commit | 25bd8174036036f427b039e4857feac6c6912a37 (patch) | |
tree | 89c15ca0adb40cd5b4c00b627de74d342a851fa4 /fs/ecryptfs/inode.c | |
parent | 2830bfd6cf66133c86d4a32004fd99c3de7e23bf (diff) |
eCryptfs: Minor fixes to printk messages
The printk statements that result when the user does not have the
proper key available could use some refining.
Signed-off-by: Mike Halcrow <mhalcrow@us.ibm.com>
Cc: Mike Halcrow <mhalcrow@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ecryptfs/inode.c')
-rw-r--r-- | fs/ecryptfs/inode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ecryptfs/inode.c b/fs/ecryptfs/inode.c index a2bc9df546bd..edd1e44e9d47 100644 --- a/fs/ecryptfs/inode.c +++ b/fs/ecryptfs/inode.c | |||
@@ -873,11 +873,11 @@ static int ecryptfs_setattr(struct dentry *dentry, struct iattr *ia) | |||
873 | if (!(mount_crypt_stat->flags | 873 | if (!(mount_crypt_stat->flags |
874 | & ECRYPTFS_PLAINTEXT_PASSTHROUGH_ENABLED)) { | 874 | & ECRYPTFS_PLAINTEXT_PASSTHROUGH_ENABLED)) { |
875 | rc = -EIO; | 875 | rc = -EIO; |
876 | printk(KERN_WARNING "Attempt to read file that " | 876 | printk(KERN_WARNING "Either the lower file " |
877 | "is not in a valid eCryptfs format, " | 877 | "is not in a valid eCryptfs format, " |
878 | "and plaintext passthrough mode is not " | 878 | "or the key could not be retrieved. " |
879 | "Plaintext passthrough mode is not " | ||
879 | "enabled; returning -EIO\n"); | 880 | "enabled; returning -EIO\n"); |
880 | |||
881 | mutex_unlock(&crypt_stat->cs_mutex); | 881 | mutex_unlock(&crypt_stat->cs_mutex); |
882 | goto out; | 882 | goto out; |
883 | } | 883 | } |