summaryrefslogtreecommitdiff
path: root/net/ceph/auth_none.h
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2021-05-15 12:04:39 +0200
committerIlya Dryomov <idryomov@gmail.com>2021-06-28 23:49:25 +0200
commitd71a95e7ffab880bdc81680b67368088f2e20d47 (patch)
treeb7af5175fafb8ff9dffb33456ed1f79eb4f1b24d /net/ceph/auth_none.h
parent4364c6938dcbb78d9c5b6e4c94b5b81e939383dc (diff)
libceph: kill ceph_none_authorizer::reply_buf
We never receive authorizer replies with cephx disabled, so it is bogus. Also, it still uses the old zero-length array style. Reported-by: Gustavo A. R. Silva <gustavoars@kernel.org> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'net/ceph/auth_none.h')
-rw-r--r--net/ceph/auth_none.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ceph/auth_none.h b/net/ceph/auth_none.h
index 4158f064302e..bb121539e796 100644
--- a/net/ceph/auth_none.h
+++ b/net/ceph/auth_none.h
@@ -16,7 +16,6 @@ struct ceph_none_authorizer {
struct ceph_authorizer base;
char buf[128];
int buf_len;
- char reply_buf[0];
};
struct ceph_auth_none_info {