From 54cf315382f8bcf7b687db1755f8108a8f488173 Mon Sep 17 00:00:00 2001 From: sageweil Date: Fri, 25 May 2007 21:38:30 +0000 Subject: [PATCH] * scatterlock fix git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1380 29311d96-e01e-0410-9327-a35deaab8ce9 --- trunk/ceph/mds/ScatterLock.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trunk/ceph/mds/ScatterLock.h b/trunk/ceph/mds/ScatterLock.h index ec5301774efa3..afaa76dd67d17 100644 --- a/trunk/ceph/mds/ScatterLock.h +++ b/trunk/ceph/mds/ScatterLock.h @@ -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) { -- 2.39.5