diff options
| author | 2007-12-17 15:48:49 +0200 | |
|---|---|---|
| committer | 2007-12-26 19:15:15 +0200 | |
| commit | db6e5770ef0ab351a403ac26e1ab1309e58f15d7 (patch) | |
| tree | 29048da47919be2b8f54bf408fe900c042c9868a /scripts/patch-kernel | |
| parent | UBI: fix and cleanup volume opening functions (diff) | |
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>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
