Re: Bug in do_mounts.c/namespace.c/devfs ?

From: Alexander Viro (viro@math.psu.edu)
Date: Sun Mar 10 2002 - 16:13:32 EST


On Sun, 10 Mar 2002, Paul P Komkoff Jr wrote:

> This is clearly reproducible here.
> Let's have 2.4.19-pre2-ac{2,3,maybe 4}.
> Let compile in devfs support but dont enable mount on boot etc.
>
> After boot we will have in /proc/mounts the following line
> devfs /dev devfs
> (other mounts)

> sys_umount(".", 0);

Good catch - it should be
                  sys_umount(".", MNT_DETACH);

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



This archive was generated by hypermail 2b29 : Fri Mar 15 2002 - 22:00:14 EST