Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251304
b: refs/heads/master
c: 2dab036
h: refs/heads/master
v: v3
  • Loading branch information
Sage Weil committed May 19, 2011
1 parent 88b5021 commit b9da21f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ae598083015e22d1802617c18d3408971b1bddc0
refs/heads/master: 2dab036b8c349d747f447ac98c8eb40c769727a8
2 changes: 1 addition & 1 deletion trunk/net/ceph/osd_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ static void calc_layout(struct ceph_osd_client *osdc,
ceph_calc_raw_layout(osdc, layout, vino.snap, off,
plen, &bno, req, op);

sprintf(req->r_oid, "%llx.%08llx", vino.ino, bno);
snprintf(req->r_oid, sizeof(req->r_oid), "%llx.%08llx", vino.ino, bno);
req->r_oid_len = strlen(req->r_oid);
}

Expand Down

0 comments on commit b9da21f

Please sign in to comment.