summaryrefslogtreecommitdiffstats
path: root/fs/ceph/strings.c
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2015-04-07 09:36:32 +0200
committerIlya Dryomov <idryomov@gmail.com>2015-04-22 17:33:41 +0200
commit0ea611a3bc5fb8f6a0bb1a76fe2dbf8ebe4bdf77 (patch)
tree8abb5d00c3614f5b7703b1fc39fea8b09efdd061 /fs/ceph/strings.c
parentceph: fix null pointer dereference in send_mds_reconnect() (diff)
downloadlinux-0ea611a3bc5fb8f6a0bb1a76fe2dbf8ebe4bdf77.tar.xz
linux-0ea611a3bc5fb8f6a0bb1a76fe2dbf8ebe4bdf77.zip
ceph: rename snapshot support
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'fs/ceph/strings.c')
-rw-r--r--fs/ceph/strings.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/strings.c b/fs/ceph/strings.c
index 51cc23e48111..89e6bc321df3 100644
--- a/fs/ceph/strings.c
+++ b/fs/ceph/strings.c
@@ -75,6 +75,7 @@ const char *ceph_mds_op_name(int op)
case CEPH_MDS_OP_LSSNAP: return "lssnap";
case CEPH_MDS_OP_MKSNAP: return "mksnap";
case CEPH_MDS_OP_RMSNAP: return "rmsnap";
+ case CEPH_MDS_OP_RENAMESNAP: return "renamesnap";
case CEPH_MDS_OP_SETFILELOCK: return "setfilelock";
case CEPH_MDS_OP_GETFILELOCK: return "getfilelock";
}