]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ceph: close messenger race
authorSage Weil <sage@newdream.net>
Wed, 28 Apr 2010 20:51:50 +0000 (13:51 -0700)
committerSage Weil <sage@newdream.net>
Mon, 17 May 2010 22:25:25 +0000 (15:25 -0700)
commit9dd4658db1be5ca92c2ed2fd7a100d973125d9c5
tree0f9e2b9d0b6edd9c37a5f6528a1c7c60fb10a902
parent4f48280ee1d0654390cd50ad0c41ea93309e7c91
ceph: close messenger race

Simplify messenger locking, and close race between ceph_con_close() setting
the CLOSED bit and con_work() checking the bit, then taking the mutex.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/messenger.c