Artem Bityutskiy db6e5770ef UBI: simplify error handling
If we fail halfway through sysfs file creation, we may just call
sysfs remove function and it will delete all the files we created.
For non-existing files it will also be OK - the remove functions
just return -ENOENT.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2007-12-26 19:15:15 +02:00
..
2007-12-26 19:15:15 +02:00
2007-12-26 19:15:15 +02:00
2007-10-14 13:10:21 +03:00
2007-12-26 19:15:15 +02:00
2007-12-26 19:15:15 +02:00
2007-12-26 19:15:13 +02:00
2007-04-27 14:23:33 +03:00
2007-04-27 14:23:33 +03:00
2007-04-27 14:23:33 +03:00
2007-12-26 19:15:15 +02:00
2007-10-14 13:10:21 +03:00
2007-12-26 19:15:15 +02:00
2007-12-26 19:15:15 +02:00
2007-12-26 19:15:15 +02:00
2007-12-26 19:15:15 +02:00