Date: | 2010-03-25 17:16:56 (14 years 3 days ago) |
---|---|
Author: | Tyler Hicks |
Commit: | 9f37622f897a90ad3c3da5c14d94d8f3ffc62b70 |
Message: | eCryptfs: Turn lower lookup error messages into debug messages Vaugue warnings about ENAMETOOLONG errors when looking up an encrypted file name have caused many users to become concerned about their data. Since this is a rather harmless condition, I'm moving this warning to only be printed when the ecryptfs_verbosity module param is 1. Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com> |
Files: |
fs/ecryptfs/inode.c (2 diffs) |
Change Details
fs/ecryptfs/inode.c | ||
---|---|---|
388 | 388 | mutex_unlock(&lower_dir_dentry->d_inode->i_mutex); |
389 | 389 | if (IS_ERR(lower_dentry)) { |
390 | 390 | rc = PTR_ERR(lower_dentry); |
391 | printk(KERN_ERR "%s: lookup_one_len() returned [%d] on " | |
392 | "lower_dentry = [%s]\n", __func__, rc, | |
393 | ecryptfs_dentry->d_name.name); | |
391 | ecryptfs_printk(KERN_DEBUG, "%s: lookup_one_len() returned " | |
392 | "[%d] on lower_dentry = [%s]\n", __func__, rc, | |
393 | encrypted_and_encoded_name); | |
394 | 394 | goto out_d_drop; |
395 | 395 | } |
396 | 396 | if (lower_dentry->d_inode) |
... | ... | |
417 | 417 | mutex_unlock(&lower_dir_dentry->d_inode->i_mutex); |
418 | 418 | if (IS_ERR(lower_dentry)) { |
419 | 419 | rc = PTR_ERR(lower_dentry); |
420 | printk(KERN_ERR "%s: lookup_one_len() returned [%d] on " | |
421 | "lower_dentry = [%s]\n", __func__, rc, | |
422 | encrypted_and_encoded_name); | |
420 | ecryptfs_printk(KERN_DEBUG, "%s: lookup_one_len() returned " | |
421 | "[%d] on lower_dentry = [%s]\n", __func__, rc, | |
422 | encrypted_and_encoded_name); | |
423 | 423 | goto out_d_drop; |
424 | 424 | } |
425 | 425 | lookup_and_interpose: |
Branches:
ben-wpan
ben-wpan-stefan
5396a9238205f20f811ea57898980d3ca82df0b6
jz-2.6.34
jz-2.6.34-rc5
jz-2.6.34-rc6
jz-2.6.34-rc7
jz-2.6.35
jz-2.6.36
jz-2.6.37
jz-2.6.38
jz-2.6.39
jz-3.0
jz-3.1
jz-3.11
jz-3.12
jz-3.13
jz-3.15
jz-3.16
jz-3.18-dt
jz-3.2
jz-3.3
jz-3.4
jz-3.5
jz-3.6
jz-3.6-rc2-pwm
jz-3.9
jz-3.9-clk
jz-3.9-rc8
jz47xx
jz47xx-2.6.38
master
Tags:
od-2011-09-04
od-2011-09-18
v2.6.34-rc5
v2.6.34-rc6
v2.6.34-rc7
v3.9