commit | 2f75e9e17911524f294aa7b3bf0d7233f99a3218 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@inktank.com> | Fri Aug 09 09:57:58 2013 -0700 |
committer | Sage Weil <sage@inktank.com> | Fri Aug 09 17:55:48 2013 -0700 |
tree | 41d27b7e1c3b343d2a843e3ffe03b99cb1ee08f9 | |
parent | 0e5dd45ce4c41d3e3857116a77f34f04c99e78ad [diff] |
ceph: replace hold_mutex flag with goto All of the early exit paths need to drop the mutex; it is only the normal path through the function that does not. Skip the unlock in that case with a goto out_unlocked. Signed-off-by: Sage Weil <sage@inktank.com> Reviewed-by: Jianpeng Ma <majianpeng@gmail.com>