commit | d6f534fc51eb5fc23d08dacceecd42a4b98747a6 | [log] [tgz] |
---|---|---|
author | Jeff Boody <jboody@codeaurora.org> | Thu Jun 07 11:02:22 2012 -0600 |
committer | Jeff Boody <jboody@codeaurora.org> | Wed Jun 13 09:27:04 2012 -0600 |
tree | 5ce26b916462dd8678a25fd7e2174a2d7b39af8d | |
parent | af9e5b75508a82724ab3dc565b3ecc9d5af176a8 [diff] |
base: genlock: protect kref counting with spinlock A race condition exists where the attach may not kref_get before the kref_put finished. The genlock_file_lock was originally added to protect against this case however it was not protecting the kref. CRs-fixed: 359649 Change-Id: Iab1fc847c2d3357ec1be79b7cc3e004643126dec Signed-off-by: Jeff Boody <jboody@codeaurora.org>