On Thu, Apr 14, 2005 at 10:40:19AM -0700, Chandra Seetharaman wrote:
> 
> -- 
> 
> ----------------------------------------------------------------------
>     Chandra Seetharaman               | Be careful what you choose....
>               - [EMAIL PROTECTED]   |      .......you may get it.
> ----------------------------------------------------------------------

> Function returns without unlocking the readllock in a case.
> This patch fixes it.
> 
> This patch applies over PATCH 3/5 of Gerrit's recent patchset.

reread the above line with "PATCH 3/8" instead of "PATCH 3/5" :)

> 
> Index: linux-2.6.12-rc1/kernel/ckrm/ckrm.c
> ===================================================================
> --- linux-2.6.12-rc1.orig/kernel/ckrm/ckrm.c
> +++ linux-2.6.12-rc1/kernel/ckrm/ckrm.c
> @@ -106,6 +106,7 @@ void *ckrm_classobj(char *classname, int
>                       if (core->name && !strcmp(core->name, classname)) {
>                               /* FIXME:   should grep reference. */
>                               *classtype_id = ctype->type_id;
> +                             read_unlock(&ckrm_class_lock);
>                               return core;
>                       }
>               }


-- 

----------------------------------------------------------------------
    Chandra Seetharaman               | Be careful what you choose....
              - [EMAIL PROTECTED]   |      .......you may get it.
----------------------------------------------------------------------


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech

Reply via email to