aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ecryptfs/inode.c')
-rw-r--r--fs/ecryptfs/inode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ecryptfs/inode.c b/fs/ecryptfs/inode.c
index ebec8cfc189b..dfcc68484f47 100644
--- a/fs/ecryptfs/inode.c
+++ b/fs/ecryptfs/inode.c
@@ -470,6 +470,7 @@ out_lock:
470 unlock_dir(lower_dir_dentry); 470 unlock_dir(lower_dir_dentry);
471 dput(lower_new_dentry); 471 dput(lower_new_dentry);
472 dput(lower_old_dentry); 472 dput(lower_old_dentry);
473 d_drop(lower_old_dentry);
473 d_drop(new_dentry); 474 d_drop(new_dentry);
474 d_drop(old_dentry); 475 d_drop(old_dentry);
475 return rc; 476 return rc;
@@ -484,7 +485,7 @@ static int ecryptfs_unlink(struct inode *dir, struct dentry *dentry)
484 lock_parent(lower_dentry); 485 lock_parent(lower_dentry);
485 rc = vfs_unlink(lower_dir_inode, lower_dentry); 486 rc = vfs_unlink(lower_dir_inode, lower_dentry);
486 if (rc) { 487 if (rc) {
487 ecryptfs_printk(KERN_ERR, "Error in vfs_unlink\n"); 488 printk(KERN_ERR "Error in vfs_unlink; rc = [%d]\n", rc);
488 goto out_unlock; 489 goto out_unlock;
489 } 490 }
490 ecryptfs_copy_attr_times(dir, lower_dir_inode); 491 ecryptfs_copy_attr_times(dir, lower_dir_inode);