diff options
Diffstat (limited to 'fs/ecryptfs/crypto.c')
-rw-r--r-- | fs/ecryptfs/crypto.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ecryptfs/crypto.c b/fs/ecryptfs/crypto.c index 391f558eb4d0..4d9db0ed88ea 100644 --- a/fs/ecryptfs/crypto.c +++ b/fs/ecryptfs/crypto.c | |||
@@ -1603,6 +1603,7 @@ int ecryptfs_read_metadata(struct dentry *ecryptfs_dentry) | |||
1603 | ecryptfs_dentry, | 1603 | ecryptfs_dentry, |
1604 | ECRYPTFS_VALIDATE_HEADER_SIZE); | 1604 | ECRYPTFS_VALIDATE_HEADER_SIZE); |
1605 | if (rc) { | 1605 | if (rc) { |
1606 | memset(page_virt, 0, PAGE_CACHE_SIZE); | ||
1606 | rc = ecryptfs_read_xattr_region(page_virt, ecryptfs_inode); | 1607 | rc = ecryptfs_read_xattr_region(page_virt, ecryptfs_inode); |
1607 | if (rc) { | 1608 | if (rc) { |
1608 | printk(KERN_DEBUG "Valid eCryptfs headers not found in " | 1609 | printk(KERN_DEBUG "Valid eCryptfs headers not found in " |