block: do_mounts - accept root=<non-existant partition>
authorKay Sievers <kay.sievers@vrfy.org>
Tue, 6 May 2008 20:31:33 +0000 (22:31 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 14 May 2008 17:37:57 +0000 (10:37 -0700)
Some devices, like md, may create partitions only at first access,
so allow root= to be set to a valid non-existant partition of an
existing disk. This applies only to non-initramfs root mounting.

This fixes a regression from 2.6.24 which did allow this to happen and
broke some users machines :(

Acked-by: Neil Brown <neilb@suse.de>
Tested-by: Joao Luis Meloni Assirati <assirati@nonada.if.usp.br>
Cc: stable <stable@kernel.org>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found