From: Pavel Shved Date: Fri, 17 Jun 2011 06:25:10 +0000 (+0000) Subject: farsync: add module_put to error path in fst_open() X-Git-Tag: v3.0-rc4~5^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0fd64c1de437bdf91c32d4f84a53fa4b2150348;p=pandora-kernel.git farsync: add module_put to error path in fst_open() The fst_open() function, after a successful try_module_get() may return an error code if hdlc_open() returns it. However, it does not put the module on this error path. This patch adds the necessary module_put() call. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Pavel Shved Signed-off-by: David S. Miller --- Reading git-diff-tree failed