Fernando Luis Vázquez Cao 2db61c95c0 UBI: cleanup usage of try_module_get
The use of try_module_get(THIS_MODULE) in ubi_get_device_info does not
offer real protection against unexpected driver unloads, since we could
be preempted before try_modules_get gets executed. It is the caller who
should manipulate the refcounts. Besides, ubi_get_device_info is an
exported symbol which guarantees protection when accessed through
symbol_get.

Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2007-07-18 16:58:45 +03:00
..
2007-07-18 16:56:13 +03:00
2007-07-18 16:53:36 +03:00
2007-07-18 16:55:55 +03:00
2007-07-18 16:55:55 +03:00
2007-07-18 16:56:24 +03:00
2007-07-18 16:52:51 +03:00
2007-07-18 16:57:34 +03:00
2007-07-18 16:58:45 +03:00
2007-04-27 14:23:33 +03:00
2007-04-27 14:23:33 +03:00
2007-04-27 14:23:33 +03:00
2007-07-18 16:53:08 +03:00
2007-07-18 16:58:02 +03:00
2007-07-18 16:52:32 +03:00
2007-07-18 16:53:08 +03:00
2007-07-18 16:53:08 +03:00
2007-07-18 16:58:12 +03:00
2007-07-18 16:58:12 +03:00
2007-07-18 16:53:49 +03:00