Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190894
b: refs/heads/master
c: 43aa7ac
h: refs/heads/master
v: v3
  • Loading branch information
kirjanov@gmail.com authored and Linus Torvalds committed May 15, 2010
1 parent 14db424 commit 5cb5da4
Show file tree
Hide file tree
Showing 2 changed files with 3 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: bdef2fe88b1e4bde7458aedd207929ce3f9d66ee
refs/heads/master: 43aa7ac736a4e21aae4882bd8f7c67403aed45b8
3 changes: 2 additions & 1 deletion trunk/lib/btree.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ static unsigned long *btree_node_alloc(struct btree_head *head, gfp_t gfp)
unsigned long *node;

node = mempool_alloc(head->mempool, gfp);
memset(node, 0, NODESIZE);
if (likely(node))
memset(node, 0, NODESIZE);
return node;
}

Expand Down

0 comments on commit 5cb5da4

Please sign in to comment.