diff options
author | Sage Weil <sage@inktank.com> | 2012-07-31 03:21:40 +0400 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2012-07-31 05:15:33 +0400 |
commit | 5469155f2bc83bb2c88b0a0370c3d54d87eed06e (patch) | |
tree | 2124283bd87d274ed0008f0a22711ff4f1b4982d /net/8021q | |
parent | a53aab645c82f0146e35684b34692c69b5118121 (diff) | |
download | linux-5469155f2bc83bb2c88b0a0370c3d54d87eed06e.tar.xz |
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: Sage Weil <sage@inktank.com>
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>
Diffstat (limited to 'net/8021q')
0 files changed, 0 insertions, 0 deletions