Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 34000
b: refs/heads/master
c: d882687
h: refs/heads/master
v: v3
  • Loading branch information
Havasi Ferenc authored and David Woodhouse committed Sep 16, 2006
1 parent fe8cd6c commit b579d6e
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: fa6c220a7f01257b1c2c4203d48aaaedb0c4416f
refs/heads/master: d882687c51b52424a56992578ce7636b3f3c8d41
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 b579d6e

Please sign in to comment.