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-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-09-06 13:32:20 -07:00
2010-09-06 13:32:20 -07:00
2011-03-31 11:26:23 -03:00
2010-05-10 05:01:31 -07:00
2010-06-03 03:18:23 -07:00
2010-09-15 22:06:05 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-09-26 18:34:29 -07:00
2010-09-26 18:34:29 -07:00
2010-05-10 05:01:31 -07:00
2011-03-31 11:26:23 -03:00