aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/Kconfig.cputype
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2008-02-14 19:38:45 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-14 21:17:09 -0800
commit4a0962abd187df29b7d1378b2f372a55667d54c0 (patch)
treedfd7e50cb1267e55b3082f6b0a1d612b88058baa /arch/powerpc/platforms/Kconfig.cputype
parentd_path: Make d_path() use a struct path (diff)
downloadlinux-dev-4a0962abd187df29b7d1378b2f372a55667d54c0.tar.xz
linux-dev-4a0962abd187df29b7d1378b2f372a55667d54c0.zip
dentries: Extract common code to remove dentry from lru
Extract the common code to remove a dentry from the lru into a new function dentry_lru_remove(). Two call sites used list_del() instead of list_del_init(). AFAIK the performance of both is the same. dentry_lru_remove() does a list_del_init(). As a result dentry->d_lru is now always empty when a dentry is freed. Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/powerpc/platforms/Kconfig.cputype')
0 files changed, 0 insertions, 0 deletions