Artem Bityutskiy 35ad5fb76c 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>
2007-12-26 19:15:15 +02:00
..
2007-12-26 19:15:15 +02:00
2007-12-26 19:15:15 +02:00
2007-10-14 13:10:21 +03:00
2007-12-26 19:15:15 +02:00
2007-12-26 19:15:15 +02:00
2007-12-26 19:15:13 +02:00
2007-04-27 14:23:33 +03:00
2007-04-27 14:23:33 +03:00
2007-04-27 14:23:33 +03:00
2007-12-26 19:15:15 +02:00
2007-10-14 13:10:21 +03:00
2007-12-26 19:15:15 +02:00
2007-12-26 19:15:15 +02:00
2007-12-26 19:15:15 +02:00
2007-12-26 19:15:15 +02:00