rocker: introduce be put/get variants and use it when appropriate
[platform/kernel/linux-rpi.git] / fs / dcache.c
index 3ffef7f..5bc72b0 100644 (file)
@@ -778,6 +778,7 @@ restart:
                        struct dentry *parent = lock_parent(dentry);
                        if (likely(!dentry->d_lockref.count)) {
                                __dentry_kill(dentry);
+                               dput(parent);
                                goto restart;
                        }
                        if (parent)