From: Artem Bityutskiy Date: Mon, 17 Dec 2007 12:22:55 +0000 (+0200) Subject: UBI: fix and cleanup volume opening functions X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4761b4c1a2272bd5a13191ff4e3ca7d7ece9a77;p=pandora-kernel.git 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 --- Reading git-diff-tree failed