X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fceph%2Fauth_none.c;h=9f78c5f01a6004a5bc50e7dd7d7d08ae230d217d;hb=0b209feee8d6fd0162dd05437a24b0b0a81ca17c;hp=214c2bb43d6252056a7a77dcd2d8eb5877c719d1;hpb=aa3fc52546b847f590d86a093afd863ff9081628;p=pandora-kernel.git diff --git a/net/ceph/auth_none.c b/net/ceph/auth_none.c index 214c2bb43d62..9f78c5f01a60 100644 --- a/net/ceph/auth_none.c +++ b/net/ceph/auth_none.c @@ -39,6 +39,11 @@ static int should_authenticate(struct ceph_auth_client *ac) return xi->starting; } +static int build_request(struct ceph_auth_client *ac, void *buf, void *end) +{ + return 0; +} + /* * the generic auth code decode the global_id, and we carry no actual * authenticate state, so nothing happens here. @@ -107,6 +112,7 @@ static const struct ceph_auth_client_ops ceph_auth_none_ops = { .destroy = destroy, .is_authenticated = is_authenticated, .should_authenticate = should_authenticate, + .build_request = build_request, .handle_reply = handle_reply, .create_authorizer = ceph_auth_none_create_authorizer, .destroy_authorizer = ceph_auth_none_destroy_authorizer,