diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2015-10-28 23:50:58 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2015-11-02 23:37:46 +0100 |
commit | 859bff51dc5e92ddfb5eb6f17b8040d9311095bb (patch) | |
tree | ff5fb0d52e36de7417410cfb63424066da56ba1f /net/ceph/ceph_common.c | |
parent | libceph: drop authorizer check from cephx msg signing routines (diff) | |
download | linux-859bff51dc5e92ddfb5eb6f17b8040d9311095bb.tar.xz linux-859bff51dc5e92ddfb5eb6f17b8040d9311095bb.zip |
libceph: stop duplicating client fields in messenger
supported_features and required_features serve no purpose at all, while
nocrc and tcp_nodelay belong to ceph_options::flags.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'net/ceph/ceph_common.c')
-rw-r--r-- | net/ceph/ceph_common.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/net/ceph/ceph_common.c b/net/ceph/ceph_common.c index 54a00d66509e..d1494d1a8592 100644 --- a/net/ceph/ceph_common.c +++ b/net/ceph/ceph_common.c @@ -596,11 +596,7 @@ struct ceph_client *ceph_create_client(struct ceph_options *opt, void *private, if (ceph_test_opt(client, MYIP)) myaddr = &client->options->my_addr; - ceph_messenger_init(&client->msgr, myaddr, - client->supported_features, - client->required_features, - ceph_test_opt(client, NOCRC), - ceph_test_opt(client, TCP_NODELAY)); + ceph_messenger_init(&client->msgr, myaddr); /* subsystems */ err = ceph_monc_init(&client->monc, client); |