Re: [PATCH] make last_inode counter in new_inode 32-bit on kernelsthat offer x86 compatability

From: Jeff Layton
Date: Mon Nov 06 2006 - 15:56:47 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/