Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64020
b: refs/heads/master
c: 1a2bf2e
h: refs/heads/master
v: v3
  • Loading branch information
Jesper Juhl authored and Steven Whitehouse committed Aug 14, 2007
1 parent 1e14a30 commit 8d9add2
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 01c8cab25863de007fe8c598d0033919ea8ae65e
refs/heads/master: 1a2bf2eefb63a267aea7f3f80d6ac59160e20810
4 changes: 3 additions & 1 deletion trunk/fs/dlm/member.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@ static int dlm_add_member(struct dlm_ls *ls, int nodeid)
return -ENOMEM;

w = dlm_node_weight(ls->ls_name, nodeid);
if (w < 0)
if (w < 0) {
kfree(memb);
return w;
}

memb->nodeid = nodeid;
memb->weight = w;
Expand Down

0 comments on commit 8d9add2

Please sign in to comment.