Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118471
b: refs/heads/master
c: f04de50
h: refs/heads/master
i:
  118469: b0e899b
  118467: 61f5825
  118463: 905d151
v: v3
  • Loading branch information
Steve Glendinning authored and David Woodhouse committed Oct 21, 2008
1 parent 4ef2ed2 commit ff3c365
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 0f0254fa8ddce39ce4e98113e7050e1cd88ff884
refs/heads/master: f04de505e3fa322728d1a851e08bf7060b117743
2 changes: 2 additions & 0 deletions trunk/fs/jffs2/nodemgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,11 @@ static int jffs2_find_nextblock(struct jffs2_sb_info *c)

jffs2_sum_reset_collected(c->summary); /* reset collected summary */

#ifdef CONFIG_JFFS2_FS_WRITEBUFFER
/* adjust write buffer offset, else we get a non contiguous write bug */
if (!(c->wbuf_ofs % c->sector_size) && !c->wbuf_len)
c->wbuf_ofs = 0xffffffff;
#endif

D1(printk(KERN_DEBUG "jffs2_find_nextblock(): new nextblock = 0x%08x\n", c->nextblock->offset));

Expand Down

0 comments on commit ff3c365

Please sign in to comment.