Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198089
b: refs/heads/master
c: cffe7b6
h: refs/heads/master
i:
  198087: ca84391
v: v3
  • Loading branch information
Julia Lawall authored and Sage Weil committed May 17, 2010
1 parent de2b55b commit a554b89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 167c9e352deb7e25568c926c49c3eafad69cbe76
refs/heads/master: cffe7b6d8cc029d13524acedf4917210dc0102ab
3 changes: 1 addition & 2 deletions trunk/fs/ceph/mon_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -481,11 +481,10 @@ int ceph_monc_do_statfs(struct ceph_mon_client *monc, struct ceph_statfs *buf)
struct ceph_mon_statfs *h;
int err;

req = kmalloc(sizeof(*req), GFP_NOFS);
req = kzalloc(sizeof(*req), GFP_NOFS);
if (!req)
return -ENOMEM;

memset(req, 0, sizeof(*req));
kref_init(&req->kref);
req->buf = buf;
init_completion(&req->completion);
Expand Down

0 comments on commit a554b89

Please sign in to comment.