commit | fc75a1e166268e0c3366c3b30888a024125f6665 | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Mon Dec 17 14:02:09 2007 +0200 |
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Wed Dec 26 19:15:15 2007 +0200 |
tree | 82dc34795ee9299d6184a31fb87b4e9b8925f6a2 | |
parent | 450f872a8e1763c883c9f723e6937b7ed223e6d3 [diff] |
UBI: fix error path Error path in volume creation is bogus. First of, it ovverrides the 'err' variable and returns zero to the caller. Second, ubi_assert() in the release function is wrong. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>