summaryrefslogtreecommitdiffstats
path: root/fs/ceph/mds_client.h
diff options
context:
space:
mode:
authorJohn Spray <john.spray@redhat.com>2014-09-19 14:51:08 +0200
committerSage Weil <sage@redhat.com>2014-10-14 21:56:50 +0200
commita687ecaf50f18329206c6b78764a8c7bd30a9df0 (patch)
tree1709001b18c7658b1c1567f105686758b1ec7447 /fs/ceph/mds_client.h
parentceph: include the initial ACL in create/mkdir/mknod MDS requests (diff)
downloadlinux-a687ecaf50f18329206c6b78764a8c7bd30a9df0.tar.xz
linux-a687ecaf50f18329206c6b78764a8c7bd30a9df0.zip
ceph: export ceph_session_state_name function
...so that it can be used from the ceph debugfs code when dumping session info. Signed-off-by: John Spray <john.spray@redhat.com>
Diffstat (limited to '')
-rw-r--r--fs/ceph/mds_client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ceph/mds_client.h b/fs/ceph/mds_client.h
index 23015f747061..3288359353e9 100644
--- a/fs/ceph/mds_client.h
+++ b/fs/ceph/mds_client.h
@@ -330,6 +330,8 @@ ceph_get_mds_session(struct ceph_mds_session *s)
return s;
}
+extern const char *ceph_session_state_name(int s);
+
extern void ceph_put_mds_session(struct ceph_mds_session *s);
extern int ceph_send_msg_mds(struct ceph_mds_client *mdsc,