Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218833
b: refs/heads/master
c: 86f3cbe
h: refs/heads/master
i:
  218831: 59ae3c3
v: v3
  • Loading branch information
Jan Kara committed Oct 27, 2010
1 parent ad816f4 commit 71b77a6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 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: 9e32784b71c2c84895016ca6ab271591669c02aa
refs/heads/master: 86f3cbec4a193c04d0a31c13132c5956731af6ff
13 changes: 6 additions & 7 deletions trunk/fs/quota/dquot.c
Original file line number Diff line number Diff line change
Expand Up @@ -1805,20 +1805,19 @@ int __dquot_transfer(struct inode *inode, struct dquot **transfer_to)

mark_all_dquot_dirty(transfer_from);
mark_all_dquot_dirty(transfer_to);
flush_warnings(transfer_to, warntype_to);
flush_warnings(transfer_from, warntype_from_inodes);
flush_warnings(transfer_from, warntype_from_space);
/* Pass back references to put */
for (cnt = 0; cnt < MAXQUOTAS; cnt++)
if (is_valid[cnt])
transfer_to[cnt] = transfer_from[cnt];

warn:
flush_warnings(transfer_to, warntype_to);
flush_warnings(transfer_from, warntype_from_inodes);
flush_warnings(transfer_from, warntype_from_space);
return ret;
return 0;
over_quota:
spin_unlock(&dq_data_lock);
up_write(&sb_dqopt(inode->i_sb)->dqptr_sem);
goto warn;
flush_warnings(transfer_to, warntype_to);
return ret;
}
EXPORT_SYMBOL(__dquot_transfer);

Expand Down

0 comments on commit 71b77a6

Please sign in to comment.