Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 4 Jan 2002 11:39:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 4 Jan 2002 11:39:13 -0500 Received: from chunnel.redhat.com ([12.107.208.220]:5616 "EHLO sisko.scot.redhat.com") by vger.kernel.org with ESMTP id ; Fri, 4 Jan 2002 11:39:04 -0500 Date: Fri, 4 Jan 2002 16:38:34 +0000 From: "Stephen C. Tweedie" To: Andrew Morton Cc: Andrea Arcangeli , Linus Torvalds , torrey.hoffman@myrio.com, linux-kernel@vger.kernel.org, Alexander Viro , Marcelo Tosatti , "Stephen C. Tweedie" Subject: Re: ramdisk corruption problems - was: RE: pivot_root and initrd kern el panic woes Message-ID: <20020104163834.H1896@redhat.com> In-Reply-To: <200112201946.fBKJkNw01262@penguin.transmeta.com> <20011221004251.K1477@athlon.random>, <20011221004251.K1477@athlon.random>; <20011221024910.L1477@athlon.random> <3C22CF16.C78B1F19@zip.com.au>, <3C22CF16.C78B1F19@zip.com.au>; <20011229164056.H1356@athlon.random> <3C2EB208.B2BA7CBF@zip.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3C2EB208.B2BA7CBF@zip.com.au>; from akpm@zip.com.au on Sat, Dec 29, 2001 at 10:19:52PM -0800 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi, [catching up from holidays] On Sat, Dec 29, 2001 at 10:19:52PM -0800, Andrew Morton wrote: > > It appeared in 2.4.2-ac25, and it looks like sct was the author: > > o Fix higmem block_prepare_write crash (Stephen Tweedie) > > Which is interesting - from the changelog it looks like he was > fixing a different problem! I always though that code was there > to prevent leakage of stale blocks. Stephen? The code I fixed was the - memset(bh->b_data, 0, bh->b_size); + memset(kaddr+block_start, 0, bh->b_size); chunk to prevent the block_prepare_write out: error path from oopsing on highmem pages -- that's unrelated to the problem at hand here. Cheers, Stephen - 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/