[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1162846571.2618.0.camel@tleilax.poochiereds.net>
Date: Mon, 06 Nov 2006 15:56:11 -0500
From: Jeff Layton <jlayton@...hat.com>
To: Eric Dumazet <dada1@...mosbay.com>
Cc: Jörn Engel <joern@...nheim.fh-wedel.de>,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] make last_inode counter in new_inode 32-bit on kernels
that offer x86 compatability
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists