summaryrefslogtreecommitdiffstats
path: root/fs/ceph/mds_client.h
diff options
context:
space:
mode:
authorYan, Zheng <zheng.z.yan@intel.com>2013-11-24 07:33:01 +0100
committerYan, Zheng <zheng.z.yan@intel.com>2014-01-21 09:30:30 +0100
commit5d72d13c425bb41f7752962f168fb402b86b7ac0 (patch)
treeede1c4142966f8c31abf1ae96590855906527875 /fs/ceph/mds_client.h
parentceph: remove exported caps when handling cap import message (diff)
downloadlinux-5d72d13c425bb41f7752962f168fb402b86b7ac0.tar.xz
linux-5d72d13c425bb41f7752962f168fb402b86b7ac0.zip
ceph: add open export target session helper
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.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 4c053d099ae4..68288917c737 100644
--- a/fs/ceph/mds_client.h
+++ b/fs/ceph/mds_client.h
@@ -383,6 +383,8 @@ extern void ceph_mdsc_lease_send_msg(struct ceph_mds_session *session,
extern void ceph_mdsc_handle_map(struct ceph_mds_client *mdsc,
struct ceph_msg *msg);
+extern struct ceph_mds_session *
+ceph_mdsc_open_export_target_session(struct ceph_mds_client *mdsc, int target);
extern void ceph_mdsc_open_export_target_sessions(struct ceph_mds_client *mdsc,
struct ceph_mds_session *session);