summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/kapi.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-12-17 13:02:09 +0100
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-12-26 18:15:15 +0100
commitfc75a1e166268e0c3366c3b30888a024125f6665 (patch)
tree82dc34795ee9299d6184a31fb87b4e9b8925f6a2 /drivers/mtd/ubi/kapi.c
parentUBI: get device when opening volume (diff)
downloadlinux-fc75a1e166268e0c3366c3b30888a024125f6665.tar.xz
linux-fc75a1e166268e0c3366c3b30888a024125f6665.zip
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>
Diffstat (limited to 'drivers/mtd/ubi/kapi.c')
0 files changed, 0 insertions, 0 deletions