diff options
Diffstat (limited to 'net/ceph')
-rw-r--r-- | net/ceph/osd_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ceph/osd_client.c b/net/ceph/osd_client.c index 7130c5c83d79..a053e7e4a780 100644 --- a/net/ceph/osd_client.c +++ b/net/ceph/osd_client.c | |||
@@ -338,7 +338,7 @@ struct ceph_osd_request *ceph_osdc_alloc_request(struct ceph_osd_client *osdc, | |||
338 | msg_size = 4 + 4 + 8 + 8 + 4+8; | 338 | msg_size = 4 + 4 + 8 + 8 + 4+8; |
339 | msg_size += 2 + 4 + 8 + 4 + 4; /* oloc */ | 339 | msg_size += 2 + 4 + 8 + 4 + 4; /* oloc */ |
340 | msg_size += 1 + 8 + 4 + 4; /* pg_t */ | 340 | msg_size += 1 + 8 + 4 + 4; /* pg_t */ |
341 | msg_size += 4 + MAX_OBJ_NAME_SIZE; | 341 | msg_size += 4 + CEPH_MAX_OID_NAME_LEN; /* oid */ |
342 | msg_size += 2 + num_ops*sizeof(struct ceph_osd_op); | 342 | msg_size += 2 + num_ops*sizeof(struct ceph_osd_op); |
343 | msg_size += 8; /* snapid */ | 343 | msg_size += 8; /* snapid */ |
344 | msg_size += 8; /* snap_seq */ | 344 | msg_size += 8; /* snap_seq */ |