From: Yan, Zheng Date: Mon, 15 Apr 2013 06:13:21 +0000 (+0800) Subject: fs: remove dentry_lru_prune() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~43^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61572bb1f40b9bec0acbb4d7bc0f5b33739f1ab1;p=pandora-kernel.git 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-diff-tree failed