Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163632
b: refs/heads/master
c: 78f1ddb
h: refs/heads/master
v: v3
  • Loading branch information
Theodore Ts'o committed Jul 28, 2009
1 parent fbbd0b7 commit c15d430
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 43b38520296d0c1730c78c878e1d6d1a49122091
refs/heads/master: 78f1ddbb498283c2445c11b0dfa666424c301803
3 changes: 2 additions & 1 deletion trunk/fs/ext4/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,8 @@ static const char *ext4_decode_error(struct super_block *sb, int errno,
errstr = "Out of memory";
break;
case -EROFS:
if (!sb || EXT4_SB(sb)->s_journal->j_flags & JBD2_ABORT)
if (!sb || (EXT4_SB(sb)->s_journal &&
EXT4_SB(sb)->s_journal->j_flags & JBD2_ABORT))
errstr = "Journal has aborted";
else
errstr = "Readonly filesystem";
Expand Down

0 comments on commit c15d430

Please sign in to comment.