]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/mds/locks.h
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / mds / locks.h
index 252cf0ed524001e17af487c7003b4cd8c6128380..5199326723e64821eb71c5cea42a657ef594b0bb 100644 (file)
@@ -123,25 +123,4 @@ enum {
 #define LOCK_AC_FOR_AUTH(a)     ((a) > 0)
 
 
-static inline const char *get_lock_action_name(int a) {
-  switch (a) {
-  case LOCK_AC_SYNC: return "sync";
-  case LOCK_AC_MIX: return "mix";
-  case LOCK_AC_LOCK: return "lock";
-  case LOCK_AC_LOCKFLUSHED: return "lockflushed";
-
-  case LOCK_AC_SYNCACK: return "syncack";
-  case LOCK_AC_MIXACK: return "mixack";
-  case LOCK_AC_LOCKACK: return "lockack";
-
-  case LOCK_AC_REQSCATTER: return "reqscatter";
-  case LOCK_AC_REQUNSCATTER: return "requnscatter";
-  case LOCK_AC_NUDGE: return "nudge";
-  case LOCK_AC_REQRDLOCK: return "reqrdlock";
-  default: return "???";
-  }
-}
-
-
-
 #endif