Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320262
b: refs/heads/master
c: f9f9a19
h: refs/heads/master
v: v3
  • Loading branch information
Yan, Zheng authored and Alex Elder committed Jun 6, 2012
1 parent c6eb40f commit 0e95605
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: a5988c490ef66cb04ea2f610681949b25c773b3c
refs/heads/master: f9f9a1904467816452fc70740165030e84c2c659
2 changes: 1 addition & 1 deletion trunk/drivers/block/rbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ static int rbd_header_from_disk(struct rbd_image_header *header,
/ sizeof (*ondisk))
return -EINVAL;
header->snapc = kmalloc(sizeof(struct ceph_snap_context) +
snap_count * sizeof (*ondisk),
snap_count * sizeof(u64),
gfp_flags);
if (!header->snapc)
return -ENOMEM;
Expand Down

0 comments on commit 0e95605

Please sign in to comment.