Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144541
b: refs/heads/master
c: 7fdf523
h: refs/heads/master
i:
  144539: 96682b3
v: v3
  • Loading branch information
Trond Myklebust authored and Linus Torvalds committed May 3, 2009
1 parent afd03e3 commit e936742
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: b4348f32dae3cb6eb4bc21c7ed8f76c0b11e9d6a
refs/heads/master: 7fdf523067666b0eaff330f362401ee50ce187c4
6 changes: 3 additions & 3 deletions trunk/fs/nfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -517,10 +517,10 @@ static int nfs_vm_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf)

ret = nfs_updatepage(filp, page, 0, pagelen);
out_unlock:
if (!ret)
return VM_FAULT_LOCKED;
unlock_page(page);
if (ret)
ret = VM_FAULT_SIGBUS;
return ret;
return VM_FAULT_SIGBUS;
}

static struct vm_operations_struct nfs_file_vm_ops = {
Expand Down

0 comments on commit e936742

Please sign in to comment.