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:
parent
1cd3c4ab94
commit
54cf315382
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user