[PATCH 03/14] spufs: Fix oops when spufs module is not loaded

Milton Miller miltonm at bga.com
Thu Dec 8 04:23:39 EST 2005


> -       if (try_module_get(spufs_calls.owner)) {
> +       if (owner && try_module_get(spufs_calls.owner)) {
>

try_module_get(owner) to avoid the race (twice)


milton




More information about the Linuxppc64-dev mailing list