From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: [PATCH 1/3] ufs: ufs_trunc_indirect: infinite cycle Date: Sun, 14 May 2006 02:47:52 -0700 Message-ID: <20060514024752.2d666443.akpm@osdl.org> References: <20060514081807.GA9802@rain.homenetwork> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Return-path: Received: from smtp.osdl.org ([65.172.181.4]:57800 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S1751389AbWENJvI (ORCPT ); Sun, 14 May 2006 05:51:08 -0400 To: Evgeniy Dushistov In-Reply-To: <20060514081807.GA9802@rain.homenetwork> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Evgeniy Dushistov wrote: > > The situation the same: in ufs_trunc_(not direct), > we read block, > check if count of links to it is equal to one, > if so we finish cycle, if not continue. > Because of "count of links" always >=2 this operation cause > infinite cycle and hang up the kernel. okay, but do we know what that code which you removed was actually intended to do? Do you know whether 2.4 kernels exhibit the same bug? If not, we might have accidentally broken UFS at some stage.