Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 196259
b: refs/heads/master
c: 832d09c
h: refs/heads/master
i:
  196257: 40f454a
  196255: 3682353
v: v3
  • Loading branch information
Jan Kara committed May 21, 2010
1 parent 7b65a7d commit 8ac7f42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: fb8dd8d780140a3f0e9074831a59054fec6cc451
refs/heads/master: 832d09cf1438bd172f69478bde74f20f05ec0115
5 changes: 3 additions & 2 deletions trunk/fs/ocfs2/quota_global.c
Original file line number Diff line number Diff line change
Expand Up @@ -468,9 +468,10 @@ static int ocfs2_global_qinit_alloc(struct super_block *sb, int type)

static int ocfs2_calc_global_qinit_credits(struct super_block *sb, int type)
{
/* We modify all the allocated blocks, tree root, and info block */
/* We modify all the allocated blocks, tree root, info block and
* the inode */
return (ocfs2_global_qinit_alloc(sb, type) + 2) *
OCFS2_QUOTA_BLOCK_UPDATE_CREDITS;
OCFS2_QUOTA_BLOCK_UPDATE_CREDITS + 1;
}

/* Sync local information about quota modifications with global quota file.
Expand Down

0 comments on commit 8ac7f42

Please sign in to comment.