|
@@ -482,7 +482,7 @@ static void __dentry_kill(struct dentry *dentry)
|
|
* inform the fs via d_prune that this dentry is about to be
|
|
* inform the fs via d_prune that this dentry is about to be
|
|
* unhashed and destroyed.
|
|
* unhashed and destroyed.
|
|
*/
|
|
*/
|
|
- if ((dentry->d_flags & DCACHE_OP_PRUNE) && !d_unhashed(dentry))
|
|
|
|
|
|
+ if (dentry->d_flags & DCACHE_OP_PRUNE)
|
|
dentry->d_op->d_prune(dentry);
|
|
dentry->d_op->d_prune(dentry);
|
|
|
|
|
|
if (dentry->d_flags & DCACHE_LRU_LIST) {
|
|
if (dentry->d_flags & DCACHE_LRU_LIST) {
|