get rid of DCACHE_GENOCIDE
[linux-2.6-block.git] / fs / dcache.c
index 5947556b6e90c0ba57a009480e4404a83578d566..8473c8f0ce229cbaf4ffe569d18fb0040fbd6434 100644 (file)
@@ -3198,10 +3198,7 @@ static enum d_walk_ret d_genocide_kill(void *data, struct dentry *dentry)
                if (d_unhashed(dentry) || !dentry->d_inode)
                        return D_WALK_SKIP;
 
-               if (!(dentry->d_flags & DCACHE_GENOCIDE)) {
-                       dentry->d_flags |= DCACHE_GENOCIDE;
-                       dentry->d_lockref.count--;
-               }
+               dentry->d_lockref.count--;
        }
        return D_WALK_CONTINUE;
 }