summaryrefslogtreecommitdiffstats
path: root/fs/ceph/strings.c
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2016-09-14 16:39:51 +0800
committerIlya Dryomov <idryomov@gmail.com>2016-10-03 16:13:50 +0200
commitfcff415c9421b417ef91d48f546f3c4566ddc358 (patch)
tree113ffb525972f94538f057cebdbbfcca834cc6d5 /fs/ceph/strings.c
parentce2728aaa82bbebae7d20345324af3f0f49eeb20 (diff)
downloadop-kernel-dev-fcff415c9421b417ef91d48f546f3c4566ddc358.zip
op-kernel-dev-fcff415c9421b417ef91d48f546f3c4566ddc358.tar.gz
ceph: handle CEPH_SESSION_REJECT message
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'fs/ceph/strings.c')
-rw-r--r--fs/ceph/strings.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ceph/strings.c b/fs/ceph/strings.c
index 89e6bc3..913dea1 100644
--- a/fs/ceph/strings.c
+++ b/fs/ceph/strings.c
@@ -43,6 +43,8 @@ const char *ceph_session_op_name(int op)
case CEPH_SESSION_RECALL_STATE: return "recall_state";
case CEPH_SESSION_FLUSHMSG: return "flushmsg";
case CEPH_SESSION_FLUSHMSG_ACK: return "flushmsg_ack";
+ case CEPH_SESSION_FORCE_RO: return "force_ro";
+ case CEPH_SESSION_REJECT: return "reject";
}
return "???";
}
OpenPOWER on IntegriCloud