summaryrefslogtreecommitdiffstats
path: root/fs/ceph/mds_client.h
diff options
context:
space:
mode:
authorJohn Spray <john.spray@redhat.com>2014-09-19 13:51:08 +0100
committerSage Weil <sage@redhat.com>2014-10-14 12:56:50 -0700
commita687ecaf50f18329206c6b78764a8c7bd30a9df0 (patch)
tree1709001b18c7658b1c1567f105686758b1ec7447 /fs/ceph/mds_client.h
parentb1ee94aa593abd03634bc3887b8e189840e42c12 (diff)
downloadlinux-a687ecaf50f18329206c6b78764a8c7bd30a9df0.tar.bz2
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 'fs/ceph/mds_client.h')
-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,