Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423515AbWJZN05 (ORCPT ); Thu, 26 Oct 2006 09:26:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1423516AbWJZN05 (ORCPT ); Thu, 26 Oct 2006 09:26:57 -0400 Received: from mx1.redhat.com ([66.187.233.31]:51412 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S1423515AbWJZN04 (ORCPT ); Thu, 26 Oct 2006 09:26:56 -0400 From: David Howells In-Reply-To: <45409DD5.7050306@sw.ru> References: <45409DD5.7050306@sw.ru> <453F6D90.4060106@sw.ru> <453F58FB.4050407@sw.ru> <20792.1161784264@redhat.com> <21393.1161786209@redhat.com> To: Vasily Averin Cc: Neil Brown , Jan Blunck , Olaf Hering , Balbir Singh , Kirill Korotaev , Linux Kernel Mailing List , devel@openvz.org, Andrew Morton Subject: Re: [Q] missing unused dentry in prune_dcache()? X-Mailer: MH-E 8.0; nmh 1.1; GNU Emacs 22.0.50 Date: Thu, 26 Oct 2006 14:25:29 +0100 Message-ID: <19898.1161869129@redhat.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 676 Lines: 16 Vasily Averin wrote: > Therefore I've removed break of cycle and insert this dentry to head of the > list. Theoretically it can lead to the second using of the same dentry, > however I do not think that it is a big problem. Hmmm... Or maybe it could be a problem. If whenever we find the dentry we stick it back on the head of the list, this could be a problem as we're traversing the list from tail to head. David - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/