Re: [PATCH] loop device fixes

From: Andries Brouwer (aeb@veritas.com)
Date: Tue May 16 2000 - 20:10:29 EST


On Tue, May 16, 2000 at 04:05:21PM -0500, David A. Bandel wrote:
> Andries Brouwer wrote:
> >
> > Just tried losetup and losetup -d under 2.3.99pre8 and
> > got a kernel crash. Looking at loop.c I see that the
> > refcounting is not done correctly. Below an improvement.
> > (And a few fixed typos.)
>
> Well, this patch only made my system freeze faster (too fast to perform
> a SysRq+U/S/B).

But for which commands?
What I looked at yesterday night was the sequence
        mount /fs
        losetup /dev/loop0 /fs/a/b/c
        losetup -d /dev/loop0
        umount /fs
This would cause an Oops on 2.3.99p8. With corrected refcounting, this works
fine now. But one should not yet try to actually use the loop device.

Andries
        

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:11 EST