diff options
Diffstat (limited to 'fs/ecryptfs/inode.c')
-rw-r--r-- | fs/ecryptfs/inode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ecryptfs/inode.c b/fs/ecryptfs/inode.c index a50efb18701c..ddbd096c7406 100644 --- a/fs/ecryptfs/inode.c +++ b/fs/ecryptfs/inode.c | |||
@@ -323,6 +323,7 @@ int ecryptfs_lookup_and_interpose_lower(struct dentry *ecryptfs_dentry, | |||
323 | rc = ecryptfs_read_and_validate_header_region(page_virt, | 323 | rc = ecryptfs_read_and_validate_header_region(page_virt, |
324 | ecryptfs_dentry->d_inode); | 324 | ecryptfs_dentry->d_inode); |
325 | if (rc) { | 325 | if (rc) { |
326 | memset(page_virt, 0, PAGE_CACHE_SIZE); | ||
326 | rc = ecryptfs_read_and_validate_xattr_region(page_virt, | 327 | rc = ecryptfs_read_and_validate_xattr_region(page_virt, |
327 | ecryptfs_dentry); | 328 | ecryptfs_dentry); |
328 | if (rc) { | 329 | if (rc) { |