Skip to content
Commit 5469155f authored by Sage Weil's avatar Sage Weil
Browse files

libceph: protect ceph_con_open() with mutex



Take the con mutex while we are initiating a ceph open.  This is necessary
because the may have previously been in use and then closed, which could
result in a racing workqueue running con_work().

Signed-off-by: default avatarSage Weil <sage@inktank.com>
Reviewed-by: default avatarYehuda Sadeh <yehuda@inktank.com>
Reviewed-by: default avatarAlex Elder <elder@inktank.com>
parent a53aab64
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