]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: add missing lock in sync_write_commit
authorJohn Spray <john.spray@redhat.com>
Tue, 5 Aug 2014 14:14:14 +0000 (15:14 +0100)
committerJohn Spray <john.spray@redhat.com>
Mon, 25 Aug 2014 00:34:17 +0000 (01:34 +0100)
commit6b55c42a83381be72bef1f68c48bb1f1ba24c5b9
treef2ca08487b8602978b9df13538b94c04674d8da7
parent1e0387a389625be8b77603e163df12f30fdeedf1
client: add missing lock in sync_write_commit

This would otherwise assert when entering
the objectcacher.

Also add assertions for all the other Contexts
in Client, which are currently correct but not
so obvious.

Signed-off-by: John Spray <john.spray@redhat.com>
src/client/Client.cc
src/client/Client.h