summaryrefslogtreecommitdiff
path: root/fs/ceph/auth_none.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ceph/auth_none.c')
-rw-r--r--fs/ceph/auth_none.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/auth_none.c b/fs/ceph/auth_none.c
index 631017eb7117..b4ef6f0a6c85 100644
--- a/fs/ceph/auth_none.c
+++ b/fs/ceph/auth_none.c
@@ -62,6 +62,7 @@ static int ceph_auth_none_create_authorizer(
if (!ai->built_authorizer) {
p = au->buf;
end = p + sizeof(au->buf);
+ ceph_encode_8(&p, 1);
ret = ceph_entity_name_encode(ac->name, &p, end - 8);
if (ret < 0)
goto bad;