aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext2/balloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext2/balloc.c')
-rw-r--r--fs/ext2/balloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext2/balloc.c b/fs/ext2/balloc.c
index 53be25158560..9157fcf887bc 100644
--- a/fs/ext2/balloc.c
+++ b/fs/ext2/balloc.c
@@ -124,7 +124,7 @@ static int reserve_blocks(struct super_block *sb, int count)
124 return 0; 124 return 0;
125 } 125 }
126 126
127 percpu_counter_add(&sbi->s_freeblocks_counter, -count); 127 percpu_counter_sub(&sbi->s_freeblocks_counter, count);
128 sb->s_dirt = 1; 128 sb->s_dirt = 1;
129 return count; 129 return count;
130} 130}