From: Goldwyn Rodrigues Date: Wed, 22 Jul 2015 17:09:15 +0000 (-0500) Subject: md: Return error if request_module fails and returns positive value X-Git-Tag: omap-for-v4.3/fixes-merge-window~190^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0c26a79d6993b280931f8e2b406ca4b220bb58f;p=pandora-kernel.git md: Return error if request_module fails and returns positive value request_module() can return 256 (process exited) in some cases, which is not as specified in the documentation before the request_module() definition. Convert the error to -ENOENT. The positive error number results in bitmap_create() returning a value that is meant to be an error but doesn't look like one, so it is dereferenced as a point and causes a crash. (not needed for stable as this is "experimental" code) Fixes: edb39c9deda8 ("Introduce md_cluster_operations to handle cluster functions") Signed-off-By: Goldwyn Rodrigues Signed-off-by: NeilBrown --- Reading git-diff-tree failed