mirror of
https://github.com/ceph/ceph
synced 2025-03-23 02:38:31 +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;
|
int num_wrlock;
|
||||||
|
|
||||||
public:
|
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() {
|
char get_replica_state() {
|
||||||
switch (state) {
|
switch (state) {
|
||||||
|
Loading…
Reference in New Issue
Block a user