commit | b41305a39a6966d8e8b1449d6b7c194923bfb451 | [log] [tgz] |
---|---|---|
author | Arnd Bergmann <arnd@arndb.de> | Mon Dec 05 22:52:23 2005 -0500 |
committer | Paul Mackerras <paulus@samba.org> | Mon Jan 09 14:52:48 2006 +1100 |
tree | e8d3368d06a3b900e16700481183bd92ec9c7d4f | |
parent | d88cfffac0002c56c1a7a813cb885fa6b5fdcd0e [diff] |
[PATCH] spufs: Fix oops when spufs module is not loaded 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>