Skip to content
Commit 9ca15af3 authored by Corey Minyard's avatar Corey Minyard
Browse files

ipmi: Fix issues with BMC refcounts



BMC device refcounts were not being decremented after fetching from
driver_find_device().  Also, document the use of ipmidriver_mutex
and tighten it's span some by incrementing the BMC's usecount in
the BMC find routines and not later.  This will be important for
future changes where a long mutex hold area will complicate things.

Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
parent eae4a36a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment