Pavel Shved d0fd64c1de 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 <shved@ispras.ru>
Signed-off-by: David S. Miller <davem@conan.davemloft.net>
2011-06-17 15:27:32 -04:00
..
2011-05-26 17:12:32 -07:00
2011-05-26 19:45:46 +02:00
2011-05-27 20:06:53 -07:00
2011-05-24 12:45:59 +02:00
2011-05-30 11:14:15 +09:30