Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130825
b: refs/heads/master
c: f8afead
h: refs/heads/master
i:
  130823: 582d152
v: v3
  • Loading branch information
Jan Kara authored and Mark Fasheh committed Feb 2, 2009
1 parent 6b4d240 commit 13729f1
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: ea455f8ab68338ba69f5d3362b342c115bea8e13
refs/heads/master: f8afead7169f0f28a4b421bcbdb510e52a2d094d
4 changes: 3 additions & 1 deletion trunk/fs/ocfs2/quota_global.c
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,9 @@ static int ocfs2_mark_dquot_dirty(struct dquot *dquot)
if (dquot->dq_flags & mask)
sync = 1;
spin_unlock(&dq_data_lock);
if (!sync) {
/* This is a slight hack but we can't afford getting global quota
* lock if we already have a transaction started. */
if (!sync || journal_current_handle()) {
status = ocfs2_write_dquot(dquot);
goto out;
}
Expand Down

0 comments on commit 13729f1

Please sign in to comment.