[PATCH] spufs: Fix oops when spufs module is not loaded
authorArnd Bergmann <arnd@arndb.de>
Tue, 6 Dec 2005 03:52:23 +0000 (22:52 -0500)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jan 2006 03:52:48 +0000 (14:52 +1100)
try_module_get returns true when NULL arguments, so
we first need to check if there is a module loaded before
getting the reference count.

Signed-off-by: Arnd Bergmann <arndb@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>

No differences found