Re: [PATCH] fix for idiocy in mount_root cleanups.

From: Alexander Viro (
Date: Mon Dec 10 2001 - 06:36:15 EST

On Sun, 9 Dec 2001, Pavel Machek wrote:

> [Calling sys_mount is indeed right way to do this. Ouch, and look 4
> lines above that. Do I see "mount()" without checking error return?]

Yes, you do and yes, it is the right thing. It is called only if we know
that fs is there and the only possible error here is -ENOMEM. And in
that case we will die since mount() attempts in the loop will also fail.
Resulting in immediate panic(). Well deserved-one, at that - if you
manage to OOM before starting init...

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Dec 15 2001 - 21:00:17 EST