diff options
author | Yan, Zheng <zheng.z.yan@intel.com> | 2013-04-15 14:13:21 +0800 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-04 15:04:01 -0400 |
commit | 61572bb1f40b9bec0acbb4d7bc0f5b33739f1ab1 (patch) | |
tree | a43dfe3cf842c97b106ced26c2c138ef259d30f6 /fs/namespace.c | |
parent | 6b13eb1baa17b8746f96bd536d2897ec86e823d9 (diff) | |
download | op-kernel-dev-61572bb1f40b9bec0acbb4d7bc0f5b33739f1ab1.zip op-kernel-dev-61572bb1f40b9bec0acbb4d7bc0f5b33739f1ab1.tar.gz |
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