summaryrefslogtreecommitdiff
path: root/drivers/mtd/ubi/build.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-12-17 12:22:55 (GMT)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-12-26 17:15:15 (GMT)
commit35ad5fb76cc0a08e14068408b064103439feee36 (patch)
tree21f90c6206a0d49ded3b35defb705c4fb131eebb /drivers/mtd/ubi/build.c
parentfc75a1e166268e0c3366c3b30888a024125f6665 (diff)
downloadlinux-35ad5fb76cc0a08e14068408b064103439feee36.tar.xz
UBI: fix and cleanup volume opening functions
This patch fixes error codes of the functions - if the device number is out of range, -EINVAL should be returned. It also removes unneeded try_module_get call from the open by name function. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/ubi/build.c')
0 files changed, 0 insertions, 0 deletions