From: Alexey Khoroshilov Date: Fri, 22 Mar 2013 20:36:44 +0000 (+0400) Subject: SUNRPC/cache: add module_put() on error path in cache_open() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~48^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7823c797b4d29727499f0a75ddf3ed07af8ad0a;p=pandora-kernel.git SUNRPC/cache: add module_put() on error path in cache_open() If kmalloc() fails in cache_open(), module cd->owner left locked. The patch adds module_put(cd->owner) on this path. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed