From 61572bb1f40b9bec0acbb4d7bc0f5b33739f1ab1 Mon Sep 17 00:00:00 2001 From: "Yan, Zheng" Date: Mon, 15 Apr 2013 14:13:21 +0800 Subject: [PATCH] fs: remove dentry_lru_prune() When pruning a dentry, its ancestor dentry can also be pruned. But the ancestor dentry does not go through dput(), so it does not get put on the dentry LRU. Hence associating d_prune with removing the dentry from the LRU is the wrong. The fix is remove dentry_lru_prune(). Call file system's d_prune() callback directly when pruning dentries. Signed-off-by: Yan, Zheng Signed-off-by: Al Viro --- Reading git-format-patch failed