Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 329781
b: refs/heads/master
c: e423010
h: refs/heads/master
i:
  329779: 3abd79d
v: v3
  • Loading branch information
Eric Sandeen authored and Jan Kara committed Sep 3, 2012
1 parent 614b053 commit c72ee50
Show file tree
Hide file tree
Showing 2 changed files with 5 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: da02eb72f150bef1d281d93b3e4716ce374c4510
refs/heads/master: e4230108547766f4e105a62c45f3724309106f91
6 changes: 4 additions & 2 deletions trunk/fs/ext3/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -1479,10 +1479,12 @@ static void ext3_orphan_cleanup (struct super_block * sb,
}

if (EXT3_SB(sb)->s_mount_state & EXT3_ERROR_FS) {
if (es->s_last_orphan)
/* don't clear list on RO mount w/ errors */
if (es->s_last_orphan && !(s_flags & MS_RDONLY)) {
jbd_debug(1, "Errors on filesystem, "
"clearing orphan list.\n");
es->s_last_orphan = 0;
es->s_last_orphan = 0;
}
jbd_debug(1, "Skipping orphan recovery on fs with errors.\n");
return;
}
Expand Down

0 comments on commit c72ee50

Please sign in to comment.