Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348106
b: refs/heads/master
c: 0875a2b
h: refs/heads/master
v: v3
  • Loading branch information
Eric Sandeen authored and Theodore Ts'o committed Dec 25, 2012
1 parent c4aff68 commit 8d9399f
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: a28a9178e8fcd9b94f7333184ce78e816c8cb2af
refs/heads/master: 0875a2b448fcaba67010850cf9649293a5ef653d
4 changes: 4 additions & 0 deletions trunk/fs/ext4/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -3231,6 +3231,10 @@ int ext4_calculate_overhead(struct super_block *sb)
memset(buf, 0, PAGE_SIZE);
cond_resched();
}
/* Add the journal blocks as well */
if (sbi->s_journal)
overhead += EXT4_B2C(sbi, sbi->s_journal->j_maxlen);

sbi->s_overhead = overhead;
smp_wmb();
free_page((unsigned long) buf);
Expand Down

0 comments on commit 8d9399f

Please sign in to comment.