aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/ceph/libceph.h
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2015-10-28 23:50:58 +0100
committerIlya Dryomov <idryomov@gmail.com>2015-11-02 23:37:46 +0100
commit859bff51dc5e92ddfb5eb6f17b8040d9311095bb (patch)
treeff5fb0d52e36de7417410cfb63424066da56ba1f /include/linux/ceph/libceph.h
parentlibceph: drop authorizer check from cephx msg signing routines (diff)
downloadwireguard-linux-859bff51dc5e92ddfb5eb6f17b8040d9311095bb.tar.xz
wireguard-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 'include/linux/ceph/libceph.h')
-rw-r--r--include/linux/ceph/libceph.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ceph/libceph.h b/include/linux/ceph/libceph.h
index 397c5cd09794..a7caafe03d3c 100644
--- a/include/linux/ceph/libceph.h
+++ b/include/linux/ceph/libceph.h
@@ -137,6 +137,7 @@ struct ceph_client {
#endif
};
+#define from_msgr(ms) container_of(ms, struct ceph_client, msgr)
/*