Fixed reference to overlapping (the same) string.
The intent of the rootdev_get_device_slave is to allow the slave and
the device to be the same string but it is not required. Added a
test for the case where they are the same string to not do the
Linux has vixed the problem of a limited number of stacked devices,
so I fixed the comment that referred to it.
Tested-by: Paul Taysom <firstname.lastname@example.org>
Reviewed-by: Yunlian Jiang <email@example.com>
Commit-Queue: Paul Taysom <firstname.lastname@example.org>
1 file changed