Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334689
b: refs/heads/master
c: 1813bad
h: refs/heads/master
i:
  334687: 987ad3f
v: v3
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Oct 15, 2012
1 parent 42b1601 commit fc1de64
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: d527e5c15de8de813cd0a2ad0b769f68c6226938
refs/heads/master: 1813badd98ce02e4b96d8997b68ddef4d4ad4ec5
2 changes: 1 addition & 1 deletion trunk/fs/nfs/nfs4filelayout.c
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ filelayout_decode_layout(struct pnfs_layout_hdr *flo,
goto out_err;

if (fl->num_fh > 0) {
fl->fh_array = kzalloc(fl->num_fh * sizeof(struct nfs_fh *),
fl->fh_array = kcalloc(fl->num_fh, sizeof(fl->fh_array[0]),
gfp_flags);
if (!fl->fh_array)
goto out_err;
Expand Down

0 comments on commit fc1de64

Please sign in to comment.