Re: bug in 2.6.22-rc2: loop mount limited to one single iso image

From: Al Viro
Date: Mon May 21 2007 - 20:13:49 EST


On Tue, May 22, 2007 at 01:10:38AM +0100, Al Viro wrote:
> On Mon, May 21, 2007 at 09:11:02AM -0700, Linus Torvalds wrote:
> >
> >
> > On Sun, 20 May 2007, Kay Sievers wrote:
> > >
> > > Right, providing "preallocated" devices, 8 or the number given in
> > > max_loop, sounds like the best option until the tools can handle that.
> >
> > Yes. Can somebody who actually _uses_ loop send a tested patch, please?
>
> FWIW, I do and I have tested it; what I did *not* do is using a testbox
> with dynamic /dev for testing. Mea culpa...
>
> AFAICS, patch that went to akpm (preallocate max_loop instances) is OK.

... except that it needs to do cleanup on failure in loop_init().
-
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/