diff options
author | Sage Weil <sage@newdream.net> | 2011-08-09 18:41:59 +0200 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2011-10-26 01:10:15 +0200 |
commit | 6ab00d465a1c8c02c2216f8220727282f3aa50b5 (patch) | |
tree | b4cc08e1be5ffe0a60d9090d86f7f0d05b1f6e36 /include | |
parent | ceph: document ioctls (diff) | |
download | linux-6ab00d465a1c8c02c2216f8220727282f3aa50b5.tar.xz linux-6ab00d465a1c8c02c2216f8220727282f3aa50b5.zip |
libceph: create messenger with client
This simplifies the init/shutdown paths, and makes client->msgr available
during the rest of the setup process.
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ceph/libceph.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/ceph/libceph.h b/include/linux/ceph/libceph.h index 563755181c1e..95bd8502e715 100644 --- a/include/linux/ceph/libceph.h +++ b/include/linux/ceph/libceph.h @@ -215,7 +215,9 @@ extern void ceph_destroy_options(struct ceph_options *opt); extern int ceph_compare_options(struct ceph_options *new_opt, struct ceph_client *client); extern struct ceph_client *ceph_create_client(struct ceph_options *opt, - void *private); + void *private, + unsigned supported_features, + unsigned required_features); extern u64 ceph_client_id(struct ceph_client *client); extern void ceph_destroy_client(struct ceph_client *client); extern int __ceph_open_session(struct ceph_client *client, |