]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: fix scatterlock print
authorSage Weil <sage@newdream.net>
Sat, 3 Jan 2009 01:00:08 +0000 (17:00 -0800)
committerSage Weil <sage@newdream.net>
Sat, 3 Jan 2009 01:00:08 +0000 (17:00 -0800)
src/mds/ScatterLock.h

index a3948ca6463a74003bf2ced6495122fff00028e6..3853b9535e8f2657542cd1762013a9446ecba118 100644 (file)
@@ -57,7 +57,7 @@ public:
     xlistitem_updated.remove_myself();   // FIXME this should happen sooner, i think...
   }
 
-  const char *get_scatterlock_state_name(int s) {
+  const char *get_state_name(int s) {
     switch(s) {
     case LOCK_SYNC: return "sync";
     case LOCK_SYNC_LOCK: return "sync->lock";