commit | 07c8739c521cb029d0f3549556aae2d304513978 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Thu Feb 04 09:42:20 2010 -0800 |
committer | Sage Weil <sage@newdream.net> | Wed Feb 10 15:04:48 2010 -0800 |
tree | 096f9775bfa1ca3092e9a5e223b0df4d5bcf0bc0 | |
parent | 9bd2e6f8ba71facf1cadb7154a7e0e4d345a6aba [diff] [blame] |
ceph: add struct version to auth encoding Inlucde struct version in encoding. This will streamline future protocol changes. Signed-off-by: Sage Weil <sage@newdream.net>
diff --git a/fs/ceph/auth_none.c b/fs/ceph/auth_none.c index 631017e..b4ef6f0 100644 --- a/fs/ceph/auth_none.c +++ b/fs/ceph/auth_none.c
@@ -62,6 +62,7 @@ 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;