bootstrap_read_devfs(): Remove all partitions upon function completion
Bootstrap_read_devfs does not remove the devices it creates during the
course of its execution which might be considered as a resource
leak. Remedy that by adding the code to remove those devices upon
function completion.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 835ffe7 commit e5dda9d5e2f27bc8cabf8f4915fadad8112e5f8b
@Andrey Smirnov Andrey Smirnov authored on 6 May 2015
Sascha Hauer committed on 7 May 2015
Showing 1 changed file
View
lib/bootstrap/devfs.c