1
0
mirror of https://github.com/ceph/ceph synced 2025-03-21 09:48:37 +00:00

* scatterlock fix

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1380 29311d96-e01e-0410-9327-a35deaab8ce9
This commit is contained in:
sageweil 2007-05-25 21:38:30 +00:00
parent 1cd3c4ab94
commit 54cf315382

View File

@ -38,7 +38,8 @@ class ScatterLock : public SimpleLock {
int num_wrlock;
public:
ScatterLock(MDSCacheObject *o, int t, int wo) : SimpleLock(o, t, wo) {}
ScatterLock(MDSCacheObject *o, int t, int wo) : SimpleLock(o, t, wo),
num_wrlock(0) {}
char get_replica_state() {
switch (state) {