diff options
Diffstat (limited to 'fs/configfs')
-rw-r--r-- | fs/configfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
252 | if (dentry) { | 252 | if (dentry) { |
253 | spin_lock(&dentry->d_lock); | 253 | spin_lock(&dentry->d_lock); |
254 | if (!(d_unhashed(dentry) && dentry->d_inode)) { | 254 | if (!(d_unhashed(dentry) && dentry->d_inode)) { |
255 | dget_locked_dlock(dentry); | 255 | dget_dlock(dentry); |
256 | __d_drop(dentry); | 256 | __d_drop(dentry); |
257 | spin_unlock(&dentry->d_lock); | 257 | spin_unlock(&dentry->d_lock); |
258 | simple_unlink(parent->d_inode, dentry); | 258 | simple_unlink(parent->d_inode, dentry); |