From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Layton Subject: Re: [PATCH] make last_inode counter in new_inode 32-bit on kernels that offer x86 compatability Date: Mon, 06 Nov 2006 15:56:11 -0500 Message-ID: <1162846571.2618.0.camel@tleilax.poochiereds.net> References: <1162836725.6952.28.camel@dantu.rdu.redhat.com> <20061106182222.GO27140@parisc-linux.org> <1162838843.12129.8.camel@dantu.rdu.redhat.com> <20061106202313.GA691@wohnheim.fh-wedel.de> <454F9BB3.6020004@cosmosbay.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: =?ISO-8859-1?Q?J=F6rn?= Engel , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Return-path: Received: from mx1.redhat.com ([66.187.233.31]:33713 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S1753789AbWKFU4U (ORCPT ); Mon, 6 Nov 2006 15:56:20 -0500 To: Eric Dumazet In-Reply-To: <454F9BB3.6020004@cosmosbay.com> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Mon, 2006-11-06 at 21:31 +0100, Eric Dumazet wrote: > > > > Also, do you have a testcase that can actually force the wrap? > > while (1) { > int fd[2]; > pipe(fd); > close(fd[0]); > close(fd[1]); > } > Yep, add an fstat(fd[0]) before the closes and you essentially have the reproducer I was given for this. -- Jeff