From: Christoph Lameter Date: Fri, 15 Feb 2008 03:38:45 +0000 (-0800) Subject: dentries: Extract common code to remove dentry from lru X-Git-Tag: v2.6.25-rc2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a0962abd187df29b7d1378b2f372a55667d54c0;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed