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 <email@example.com>
Reviewed-by: Yunlian Jiang <firstname.lastname@example.org>
Commit-Queue: Paul Taysom <email@example.com>
1 file changed