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

Milton Miller miltonm at bga.com
Sat Dec 10 03:59:25 EST 2005


On Dec 9, 2005, at 9:31 AM, Arnd Bergmann wrote:

> On Middeweken 07 Dezember 2005 18:23, Milton Miller wrote:
>>> -       if (try_module_get(spufs_calls.owner)) {
>>> +       if (owner && try_module_get(spufs_calls.owner)) {
>>>
>>
>> try_module_get(owner) to avoid the race (twice)
>>
>
> Twice? AFAICS, I got it right once and wrong in the other place.
> I'll fix that one up, thanks.
>
> 	Arnd <><
>
>

Guess I read the second hunk too quickly.

milton




More information about the Linuxppc64-dev mailing list