author: Nick Piggin <npiggin@kernel.dk> 2011-01-07 17:49:43 +1100
committer: Nick Piggin <npiggin@kernel.dk> 2011-01-07 17:50:24 +1100
commit: dc0474be3e27463d4d4a2793f82366eed906f223
parent: 357f8e658bba8a085c4a5d4331e30894be8096b8
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/configfs/inode.c b/fs/configfs/inode.c
index fb3a55fff82a..c83f4768eeaa 100644
--- a/fs/configfs/inode.c
+++ b/fs/configfs/inode.c
@@ -252,7 +252,7 @@ void configfs_drop_dentry(struct configfs_dirent * sd, struct dentry * parent)
if (dentry) {
spin_lock(&dentry->d_lock);
if (!(d_unhashed(dentry) && dentry->d_inode)) {
- dget_locked_dlock(dentry);
+ dget_dlock(dentry);
__d_drop(dentry);
spin_unlock(&dentry->d_lock);
simple_unlink(parent->d_inode, dentry);