mtd/fs/jffs2 wbuf.c,1.68,1.69
David Woodhouse
dwmw2 at infradead.org
Tue Jul 6 09:43:59 EDT 2004
Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv8796
Modified Files:
wbuf.c
Log Message:
make it compile
Index: wbuf.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/wbuf.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -r1.68 -r1.69
--- wbuf.c 6 Jul 2004 10:32:33 -0000 1.68
+++ wbuf.c 6 Jul 2004 13:43:56 -0000 1.69
@@ -391,7 +391,7 @@
0: Do not pad. Probably pointless - we only ever use this when we can't pad anyway.
1: Pad, do not adjust nextblock free_size
2: Pad, adjust nextblock free_size
-/
+*/
static int __jffs2_flush_wbuf(struct jffs2_sb_info *c, int pad)
{
int ret;
@@ -470,7 +470,7 @@
jeb = &c->blocks[c->wbuf_ofs / c->sector_size];
D1(printk(KERN_DEBUG "jffs2_flush_wbuf() adjusting free_size of %sblock at %08x\n",
- (jeb==nextblock)?"next":"", jeb->offset));
+ (jeb==c->nextblock)?"next":"", jeb->offset));
/* wbuf_pagesize - wbuf_len is the amount of space that's to be
padded. If there is less free space in the block than that,
More information about the linux-mtd-cvs
mailing list