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-03 14:00:16 +00:00
2007-08-03 12:42:40 +01:00
2006-12-11 09:43:38 +00:00