commit | ad8cd0d643f0c3f86755a0169bb7c9597005fa8e | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@linaro.org> | Thu Oct 16 06:35:25 2014 -0500 |
committer | Greg Kroah-Hartman <greg@kroah.com> | Fri Oct 17 18:11:59 2014 +0200 |
tree | 2dc83890baa2efdb092d6dd685fa2254194a0c76 | |
parent | 051fb04712593a1bebdf638cd9f9935db2ce48aa [diff] |
greybus: unlock gbuf mutex on free To drop a reference on a gbuf, greybus_free_gbuf() is called. That uses kref_put_mutex() to drop the refernce under protection of gbuf_mutex. However the release routine, free_gbuf(), never releases the mutex as it should. Fix that. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>