diff options
author | Sage Weil <sage@newdream.net> | 2010-01-27 17:28:10 -0500 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-01-29 15:41:09 -0500 |
commit | ac8839d7b264d0fa478fca7c4f9b6bb833540a80 (patch) | |
tree | c5dd4fbc61c2f96845c9198a6eb9840074ebcb8c /fs/ceph/mds_client.c | |
parent | 361be8601d78e488b5249032cc4e779b81d7928e (diff) |
ceph: include type in ceph_entity_addr, filepath
Include a type/version in ceph_entity_addr and filepath. Include extra
byte in filepath encoding as necessary.
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/mds_client.c')
-rw-r--r-- | fs/ceph/mds_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/mds_client.c b/fs/ceph/mds_client.c index 93998a0678c4..4e3e8b229e67 100644 --- a/fs/ceph/mds_client.c +++ b/fs/ceph/mds_client.c | |||
@@ -1325,7 +1325,7 @@ static struct ceph_msg *create_request_message(struct ceph_mds_client *mdsc, | |||
1325 | } | 1325 | } |
1326 | 1326 | ||
1327 | len = sizeof(*head) + | 1327 | len = sizeof(*head) + |
1328 | pathlen1 + pathlen2 + 2*(sizeof(u32) + sizeof(u64)); | 1328 | pathlen1 + pathlen2 + 2*(1 + sizeof(u32) + sizeof(u64)); |
1329 | 1329 | ||
1330 | /* calculate (max) length for cap releases */ | 1330 | /* calculate (max) length for cap releases */ |
1331 | len += sizeof(struct ceph_mds_request_release) * | 1331 | len += sizeof(struct ceph_mds_request_release) * |