Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 377649
b: refs/heads/master
c: 512cbf0
h: refs/heads/master
i:
  377647: 4749006
v: v3
  • Loading branch information
Bob Peterson authored and Steven Whitehouse committed Jun 14, 2013
1 parent 48e024a commit 61efd8d
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: 6d4ade986f9c8df31e68fd30643997f79cc5a5f8
refs/heads/master: 512cbf02fde42b747c5752f135afd3f3f6d598e2
3 changes: 2 additions & 1 deletion trunk/fs/gfs2/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -1125,13 +1125,14 @@ static int dir_double_exhash(struct gfs2_inode *dip)
if (IS_ERR(hc))
return PTR_ERR(hc);

h = hc2 = kmalloc(hsize_bytes * 2, GFP_NOFS | __GFP_NOWARN);
hc2 = kmalloc(hsize_bytes * 2, GFP_NOFS | __GFP_NOWARN);
if (hc2 == NULL)
hc2 = __vmalloc(hsize_bytes * 2, GFP_NOFS, PAGE_KERNEL);

if (!hc2)
return -ENOMEM;

h = hc2;
error = gfs2_meta_inode_buffer(dip, &dibh);
if (error)
goto out_kfree;
Expand Down

0 comments on commit 61efd8d

Please sign in to comment.