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

Arnd Bergmann arnd at arndb.de
Sat Dec 10 02:31:28 EST 2005


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 <><



More information about the Linuxppc64-dev mailing list