Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 273140
b: refs/heads/master
c: bdfc230
h: refs/heads/master
v: v3
  • Loading branch information
Nikitas Angelinas authored and Theodore Ts'o committed Oct 18, 2011
1 parent 6a7e142 commit 404ba6d
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: 215fc6af739d2dfdcad5496248d0d6302eb8a604
refs/heads/master: bdfc230f33a9dab316dcb6be4696ae59e1562e3c
5 changes: 3 additions & 2 deletions trunk/fs/ext4/mmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,9 @@ static int kmmpd(void *data)
* Don't spew too many error messages. Print one every
* (s_mmp_update_interval * 60) seconds.
*/
if (retval && (failed_writes % 60) == 0) {
ext4_error(sb, "Error writing to MMP block");
if (retval) {
if ((failed_writes % 60) == 0)
ext4_error(sb, "Error writing to MMP block");
failed_writes++;
}

Expand Down

0 comments on commit 404ba6d

Please sign in to comment.