projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d132f7
)
ecryptfs: remove unnecessary d_drop calls in ecryptfs_link
author
Erez Zadok
<
[email protected]
>
Sun, 6 Dec 2009 23:05:30 +0000
(18:05 -0500)
committer
Tyler Hicks
<
[email protected]
>
Wed, 20 Jan 2010 04:36:00 +0000
(22:36 -0600)
Unnecessary because it would unhash perfectly valid dentries, causing them
to have to be re-looked up the next time they're needed, which presumably is
right after.
Signed-off-by: Aseem Rastogi <
[email protected]
>
Signed-off-by: Shrikar archak <
[email protected]
>
Signed-off-by: Erez Zadok <
[email protected]
>
Cc: Saumitra Bhanage <
[email protected]
>
Cc: Al Viro <
[email protected]
>
Signed-off-by: Tyler Hicks <
[email protected]
>
fs/ecryptfs/inode.c
patch
|
blob
|
history
diff --git
a/fs/ecryptfs/inode.c
b/fs/ecryptfs/inode.c
index 764dc777b268eb034282fc74003abf093ffc82c8..e0341529362564f0f67b71975e444e7a25cc2bea 100644
(file)
--- a/
fs/ecryptfs/inode.c
+++ b/
fs/ecryptfs/inode.c
@@
-463,9
+463,6
@@
out_lock:
unlock_dir(lower_dir_dentry);
dput(lower_new_dentry);
dput(lower_old_dentry);
- d_drop(lower_old_dentry);
- d_drop(new_dentry);
- d_drop(old_dentry);
return rc;
}