diff options
Diffstat (limited to 'fs/dcache.c')
-rw-r--r-- | fs/dcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dcache.c b/fs/dcache.c index d8a77b1c3d52..21eee4c08e76 100644 --- a/fs/dcache.c +++ b/fs/dcache.c | |||
@@ -482,7 +482,7 @@ static void __dentry_kill(struct dentry *dentry) | |||
482 | * inform the fs via d_prune that this dentry is about to be | 482 | * inform the fs via d_prune that this dentry is about to be |
483 | * unhashed and destroyed. | 483 | * unhashed and destroyed. |
484 | */ | 484 | */ |
485 | if ((dentry->d_flags & DCACHE_OP_PRUNE) && !d_unhashed(dentry)) | 485 | if (dentry->d_flags & DCACHE_OP_PRUNE) |
486 | dentry->d_op->d_prune(dentry); | 486 | dentry->d_op->d_prune(dentry); |
487 | 487 | ||
488 | if (dentry->d_flags & DCACHE_LRU_LIST) { | 488 | if (dentry->d_flags & DCACHE_LRU_LIST) { |