Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33942
b: refs/heads/master
c: 27bea32
h: refs/heads/master
v: v3
  • Loading branch information
Zoltan Sogor authored and Linus Torvalds committed Sep 16, 2006
1 parent 9518a91 commit e0ea6e4
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 96da96065bd66164acc3c8a1ea6db4ee765537e9
refs/heads/master: 27bea3275515e5bd748ed7a492d0df605f5e824a
5 changes: 5 additions & 0 deletions trunk/fs/jffs2/summary.c
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,11 @@ int jffs2_sum_add_kvec(struct jffs2_sb_info *c, const struct kvec *invecs,
union jffs2_node_union *node;
struct jffs2_eraseblock *jeb;

if (c->summary->sum_size == JFFS2_SUMMARY_NOSUM_SIZE) {
dbg_summary("Summary is disabled for this jeb! Skipping summary info!\n");
return 0;
}

node = invecs[0].iov_base;
jeb = &c->blocks[ofs / c->sector_size];
ofs -= jeb->offset;
Expand Down

0 comments on commit e0ea6e4

Please sign in to comment.