• Y
    fs: remove dentry_lru_prune() · 61572bb1
    Yan, Zheng 提交于
    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: NYan, Zheng <zheng.z.yan@intel.com>
    Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
    61572bb1
dcache.c 78.3 KB