Modified rootdev to handle stacked device mappers
Rootdev only went down one level when traversing the device tree.
With the addition of the bootcache device mapper, we need to
go multiple levels for the -s option for rootdev.
TEST=used it with bootcache to find boot device.
Commit-Ready: Paul Taysom <email@example.com>
Reviewed-by: Paul Taysom <firstname.lastname@example.org>
Tested-by: Paul Taysom <email@example.com>
2 files changed