summaryrefslogtreecommitdiffstats
path: root/fs/namespace.c
diff options
context:
space:
mode:
authorYan, Zheng <zheng.z.yan@intel.com>2013-04-15 08:13:21 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2013-05-04 21:04:01 +0200
commit61572bb1f40b9bec0acbb4d7bc0f5b33739f1ab1 (patch)
treea43dfe3cf842c97b106ced26c2c138ef259d30f6 /fs/namespace.c
parentRemoved unused typedef to avoid "unused local typedef" warnings. (diff)
downloadlinux-61572bb1f40b9bec0acbb4d7bc0f5b33739f1ab1.tar.xz
linux-61572bb1f40b9bec0acbb4d7bc0f5b33739f1ab1.zip
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 <zheng.z.yan@intel.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namespace.c')
0 files changed, 0 insertions, 0 deletions