diff options
author | Sage Weil <sage@newdream.net> | 2010-01-27 14:28:10 -0800 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-01-29 12:41:09 -0800 |
commit | ac8839d7b264d0fa478fca7c4f9b6bb833540a80 (patch) | |
tree | c5dd4fbc61c2f96845c9198a6eb9840074ebcb8c /fs/ceph/mds_client.c | |
parent | 361be8601d78e488b5249032cc4e779b81d7928e (diff) | |
download | talos-op-linux-ac8839d7b264d0fa478fca7c4f9b6bb833540a80.tar.gz talos-op-linux-ac8839d7b264d0fa478fca7c4f9b6bb833540a80.zip |
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, } len = sizeof(*head) + - pathlen1 + pathlen2 + 2*(sizeof(u32) + sizeof(u64)); + pathlen1 + pathlen2 + 2*(1 + sizeof(u32) + sizeof(u64)); /* calculate (max) length for cap releases */ len += sizeof(struct ceph_mds_request_release) * |