Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166175
b: refs/heads/master
c: 9c2d205
h: refs/heads/master
i:
  166173: 11e63ae
  166171: f015841
  166167: 54e44ce
  166159: 0f5ce32
  166143: e264567
v: v3
  • Loading branch information
Tyler Hicks committed Sep 23, 2009
1 parent 2c5130f commit e1d9536
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 96a7b9c2f5df899f302ade45cf17ad753fe130fd
refs/heads/master: 9c2d2056647790c5034d722bd24e9d913ebca73c
2 changes: 2 additions & 0 deletions trunk/fs/ecryptfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,7 @@ static int ecryptfs_unlink(struct inode *dir, struct dentry *dentry)
struct inode *lower_dir_inode = ecryptfs_inode_to_lower(dir);
struct dentry *lower_dir_dentry;

dget(lower_dentry);
lower_dir_dentry = lock_parent(lower_dentry);
rc = vfs_unlink(lower_dir_inode, lower_dentry);
if (rc) {
Expand All @@ -489,6 +490,7 @@ static int ecryptfs_unlink(struct inode *dir, struct dentry *dentry)
d_drop(dentry);
out_unlock:
unlock_dir(lower_dir_dentry);
dput(lower_dentry);
return rc;
}

Expand Down

0 comments on commit e1d9536

Please sign in to comment.