diff options
Diffstat (limited to 'fs/jffs2')
-rw-r--r-- | fs/jffs2/nodelist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jffs2/nodelist.c b/fs/jffs2/nodelist.c index 5d36e9b4d7c5..927dfe42ba76 100644 --- a/fs/jffs2/nodelist.c +++ b/fs/jffs2/nodelist.c | |||
@@ -1139,7 +1139,7 @@ int jffs2_scan_dirty_space(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb | |||
1139 | BUG(); | 1139 | BUG(); |
1140 | } | 1140 | } |
1141 | /* REF_EMPTY_NODE is !obsolete, so that works OK */ | 1141 | /* REF_EMPTY_NODE is !obsolete, so that works OK */ |
1142 | if (ref_obsolete(jeb->last_node)) { | 1142 | if (jeb->last_node && ref_obsolete(jeb->last_node)) { |
1143 | #ifdef TEST_TOTLEN | 1143 | #ifdef TEST_TOTLEN |
1144 | jeb->last_node->__totlen += size; | 1144 | jeb->last_node->__totlen += size; |
1145 | #endif | 1145 | #endif |