Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54450
b: refs/heads/master
c: 1de9139
h: refs/heads/master
v: v3
  • Loading branch information
Josef Whiter authored and Steven Whitehouse committed May 1, 2007
1 parent 6ccd704 commit d8f9621
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 89adc934f3f96600e7f31447426c7e99d62c5460
refs/heads/master: 1de913909263ba7f7054debeda1b79771a7233db
4 changes: 4 additions & 0 deletions trunk/fs/gfs2/ops_address.c
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,9 @@ static int gfs2_commit_write(struct file *file, struct page *page,
gfs2_quota_unlock(ip);
gfs2_alloc_put(ip);
}
unlock_page(page);
gfs2_glock_dq_m(1, &ip->i_gh);
lock_page(page);
gfs2_holder_uninit(&ip->i_gh);
return 0;

Expand All @@ -520,7 +522,9 @@ static int gfs2_commit_write(struct file *file, struct page *page,
gfs2_quota_unlock(ip);
gfs2_alloc_put(ip);
}
unlock_page(page);
gfs2_glock_dq_m(1, &ip->i_gh);
lock_page(page);
gfs2_holder_uninit(&ip->i_gh);
fail_nounlock:
ClearPageUptodate(page);
Expand Down

0 comments on commit d8f9621

Please sign in to comment.