Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346276
b: refs/heads/master
c: 063eacf
h: refs/heads/master
v: v3
  • Loading branch information
Jing Wang authored and Philipp Reisner committed Nov 9, 2012
1 parent c3bd0a8 commit 484c4ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 986836503e49ccf7e84b813715d344964ec93566
refs/heads/master: 063eacf88cc1394ece125d106c05cba1ca03aa3d
4 changes: 4 additions & 0 deletions trunk/drivers/block/drbd/drbd_receiver.c
Original file line number Diff line number Diff line change
Expand Up @@ -3663,6 +3663,10 @@ static int receive_uuids(struct drbd_tconn *tconn, struct packet_info *pi)
return config_unknown_volume(tconn, pi);

p_uuid = kmalloc(sizeof(u64)*UI_EXTENDED_SIZE, GFP_NOIO);
if (!p_uuid) {
dev_err(DEV, "kmalloc of p_uuid failed\n");
return false;
}

for (i = UI_CURRENT; i < UI_EXTENDED_SIZE; i++)
p_uuid[i] = be64_to_cpu(p->uuid[i]);
Expand Down

0 comments on commit 484c4ef

Please sign in to comment.