PATCH: free mm if spufs_fill_dir() failed

Jeremy Kerr jk at ozlabs.org
Wed May 9 16:08:26 EST 2007


Sebastian,

> In case spufs_fill_dir() fails only put_spu_context()
> gets called for cleanup and the acquired mm_struct never gets freed.

Good catch. However - could we do the mmput in the context destroy path 
instead?

Also, you're probably better-off sending patches inline. It makes 
commenting on the patch much easier for some mailers.

Cheers,


Jeremy



More information about the Linuxppc-dev mailing list