Re: [patch 04/23] dentries: Extract common code to remove dentry from lru

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jörn <joern@...>
Cc: Johannes Weiner <hannes-kernel@...>, <akpm@...>, <linux-kernel@...>, <linux-mm@...>, Mel Gorman <mel@...>
Date: Wednesday, November 7, 2007 - 2:55 pm

On Wed, 7 Nov 2007, J=F6rn Engel wrote:


Its in the slab defrag git now. I added the spelling fix and this one as a=
=20
result of the discussions today.


From: Christoph Lameter <clameter@sgi.com>
Subject: dcache: use the correct variable.

We need to use "loop" instead of "dentry"

Acked-by: Joern Engel <joern@logfs.org>
Signed-off-by: Christoph Lameter <clameter@sgi.com>

Index: linux-2.6/fs/dcache.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- linux-2.6.orig/fs/dcache.c=092007-11-07 10:26:20.000000000 -0800
+++ linux-2.6/fs/dcache.c=092007-11-07 10:26:27.000000000 -0800
@@ -610,7 +610,7 @@ static void shrink_dcache_for_umount_sub
 =09=09=09spin_lock(&dcache_lock);
 =09=09=09list_for_each_entry(loop, &dentry->d_subdirs,
 =09=09=09=09=09    d_u.d_child) {
-=09=09=09=09dentry_lru_remove(dentry);
+=09=09=09=09dentry_lru_remove(loop);
 =09=09=09=09__d_drop(loop);
 =09=09=09=09cond_resched_lock(&dcache_lock);
 =09=09=09}
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [patch 04/23] dentries: Extract common code to remove de..., Christoph Lameter, (Wed Nov 7, 2:55 pm)