]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - fs/configfs/inode.c
fs: dcache rationalise dget variants
[mv-sheeva.git] / fs / configfs / inode.c
index fb3a55fff82a7a00125061557ca71f0174d1e887..c83f4768eeaad90efa3971c9d16915703aafb014 100644 (file)
@@ -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);