ecryptfs: remove unnecessary d_drop calls in ecryptfs_link
authorErez Zadok <ezk@cs.sunysb.edu>
Sun, 6 Dec 2009 23:05:30 +0000 (18:05 -0500)
committerTyler Hicks <tyhicks@linux.vnet.ibm.com>
Wed, 20 Jan 2010 04:36:00 +0000 (22:36 -0600)
commitc44a66d674688f1e1d0b2f6f56bd9c6a1b061cae
tree52ff029a1c19b11b75ccc25ed7a5e00619e05800
parent0d132f7364694da8f7cafd49e2fc2721b73e96e4
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 <arastogi@cs.sunysb.edu>
Signed-off-by: Shrikar archak <shrikar84@gmail.com>
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
Cc: Saumitra Bhanage <sbhanage@cs.sunysb.edu>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
fs/ecryptfs/inode.c