https://github.com/torvalds/linux
Revision 5469155f2bc83bb2c88b0a0370c3d54d87eed06e authored by Sage Weil on 30 July 2012, 23:21:40 UTC, committed by Sage Weil on 31 July 2012, 01:15:33 UTC
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>
1 parent a53aab6
History
Tip revision: 5469155f2bc83bb2c88b0a0370c3d54d87eed06e authored by Sage Weil on 30 July 2012, 23:21:40 UTC
libceph: protect ceph_con_open() with mutex
Tip revision: 5469155
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1014 bytes
.mailmap -rw-r--r-- 4.3 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.7 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 207.3 KB
Makefile -rw-r--r-- 46.0 KB
README -rw-r--r-- 17.3 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top