summaryrefslogtreecommitdiff
path: root/fs/ceph/ceph_strings.c
diff options
context:
space:
mode:
authorGreg Farnum <gregf@hq.newdream.net>2010-08-02 22:30:08 (GMT)
committerSage Weil <sage@newdream.net>2010-08-02 22:48:54 (GMT)
commitfbaad9797a761c2d5ff6e755bbb4c046207a1ca2 (patch)
treeabe5e3668294922e70282dab9c36072cac1939c9 /fs/ceph/ceph_strings.c
parentc6f3fdc592d61847da0e2172e352dbcb53c83d39 (diff)
downloadlinux-fsl-qoriq-fbaad9797a761c2d5ff6e755bbb4c046207a1ca2.tar.xz
ceph: define on-wire types, constants for file locking support
Define the MDS operations and data types for doing file advisory locking with the MDS. Signed-off-by: Greg Farnum <gregf@hq.newdream.net> Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/ceph_strings.c')
-rw-r--r--fs/ceph/ceph_strings.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ceph/ceph_strings.c b/fs/ceph/ceph_strings.c
index 0f943a0..c6179d3 100644
--- a/fs/ceph/ceph_strings.c
+++ b/fs/ceph/ceph_strings.c
@@ -130,6 +130,8 @@ 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_SETFILELOCK: return "setfilelock";
+ case CEPH_MDS_OP_GETFILELOCK: return "getfilelock";
}
return "???";
}