mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
ecryptfs: remove unnecessary d_drop calls in ecryptfs_link
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]>
This commit is contained in:
parent
0d132f7364
commit
c44a66d674
1 changed files with 0 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue