Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143788
b: refs/heads/master
c: e56985d
h: refs/heads/master
v: v3
  • Loading branch information
Steven Whitehouse committed Apr 20, 2009
1 parent 787d86e commit d4c8c8f
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: 52fcd11c0900b0cbc584eeda12a6e27dd6c9d046
refs/heads/master: e56985da455b9dc0591b8cb2006cc94b6f4fb0f4
4 changes: 3 additions & 1 deletion trunk/fs/gfs2/ops_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,9 @@ static int gfs2_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf)
gfs2_glock_dq(&gh);
out:
gfs2_holder_uninit(&gh);
if (ret)
if (ret == -ENOMEM)
ret = VM_FAULT_OOM;
else if (ret)
ret = VM_FAULT_SIGBUS;
return ret;
}
Expand Down

0 comments on commit d4c8c8f

Please sign in to comment.