diff options
Diffstat (limited to 'fs/ecryptfs/inode.c')
-rw-r--r-- | fs/ecryptfs/inode.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/ecryptfs/inode.c b/fs/ecryptfs/inode.c index efc2db42d175..847904aa63a9 100644 --- a/fs/ecryptfs/inode.c +++ b/fs/ecryptfs/inode.c | |||
@@ -64,7 +64,6 @@ static int ecryptfs_inode_set(struct inode *inode, void *opaque) | |||
64 | /* i_size will be overwritten for encrypted regular files */ | 64 | /* i_size will be overwritten for encrypted regular files */ |
65 | fsstack_copy_inode_size(inode, lower_inode); | 65 | fsstack_copy_inode_size(inode, lower_inode); |
66 | inode->i_ino = lower_inode->i_ino; | 66 | inode->i_ino = lower_inode->i_ino; |
67 | inode->i_version++; | ||
68 | inode->i_mapping->a_ops = &ecryptfs_aops; | 67 | inode->i_mapping->a_ops = &ecryptfs_aops; |
69 | 68 | ||
70 | if (S_ISLNK(inode->i_mode)) | 69 | if (S_ISLNK(inode->i_mode)) |
@@ -334,9 +333,6 @@ static struct dentry *ecryptfs_lookup_interpose(struct dentry *dentry, | |||
334 | 333 | ||
335 | dentry_info = kmem_cache_alloc(ecryptfs_dentry_info_cache, GFP_KERNEL); | 334 | dentry_info = kmem_cache_alloc(ecryptfs_dentry_info_cache, GFP_KERNEL); |
336 | if (!dentry_info) { | 335 | if (!dentry_info) { |
337 | printk(KERN_ERR "%s: Out of memory whilst attempting " | ||
338 | "to allocate ecryptfs_dentry_info struct\n", | ||
339 | __func__); | ||
340 | dput(lower_dentry); | 336 | dput(lower_dentry); |
341 | return ERR_PTR(-ENOMEM); | 337 | return ERR_PTR(-ENOMEM); |
342 | } | 338 | } |