diff options
author | Sage Weil <sage@newdream.net> | 2011-08-09 09:41:59 -0700 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2011-10-25 16:10:15 -0700 |
commit | 6ab00d465a1c8c02c2216f8220727282f3aa50b5 (patch) | |
tree | b4cc08e1be5ffe0a60d9090d86f7f0d05b1f6e36 /include | |
parent | 6a8ea4706adb4b4d8f77a8da5f9778b65fbf6f48 (diff) | |
download | linux-stable-6ab00d465a1c8c02c2216f8220727282f3aa50b5.tar.gz linux-stable-6ab00d465a1c8c02c2216f8220727282f3aa50b5.tar.bz2 linux-stable-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, |