commit | 9ca15af3164f3bb84db101fc7843fde25be3288c | [log] [tgz] |
---|---|---|
author | Corey Minyard <cminyard@mvista.com> | Fri Sep 01 12:52:20 2017 -0500 |
committer | Corey Minyard <cminyard@mvista.com> | Wed Sep 27 16:03:45 2017 -0500 |
tree | fa0225e27009a07def3dcc57818c157a0ad2f4a5 | |
parent | eae4a36a6825302cb08c73c91924cade224d96d3 [diff] |
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: Corey Minyard <cminyard@mvista.com>