Merge git://git.infradead.org/mtd-2.6
* git://git.infradead.org/mtd-2.6: (63 commits) mtd: OneNAND: Allow setting of boundary information when built as module jffs2: leaking jffs2_summary in function jffs2_scan_medium mtd: nand: Fix memory leak on txx9ndfmc probe failure. mtd: orion_nand: use burst reads with double word accesses mtd/nand: s3c6400 support for s3c2410 driver [MTD] [NAND] S3C2410: Use DIV_ROUND_UP [MTD] [NAND] S3C2410: Deal with unaligned lengths in S3C2440 buffer read/write [MTD] [NAND] S3C2410: Allow the machine code to get the BBT table from NAND [MTD] [NAND] S3C2410: Added a kerneldoc for s3c2410_nand_set mtd: physmap_of: Add multiple regions and concatenation support mtd: nand: max_retries off by one in mxc_nand mtd: nand: s3c2410_nand_setrate(): use correct macros for 2412/2440 mtd: onenand: add bbt_wait & unlock_all as replaceable for some platform mtd: Flex-OneNAND support mtd: nand: add OMAP2/OMAP3 NAND driver mtd: maps: Blackfin async: fix memory leaks in probe/remove funcs mtd: uclinux: mark local stuff static mtd: uclinux: do not allow to be built as a module mtd: uclinux: allow systems to override map addr/size mtd: blackfin NFC: fix hang when using NAND on BF527-EZKITs ...
This commit is contained in:
@@ -196,7 +196,7 @@ int jffs2_scan_medium(struct jffs2_sb_info *c)
|
||||
if (c->nextblock) {
|
||||
ret = file_dirty(c, c->nextblock);
|
||||
if (ret)
|
||||
return ret;
|
||||
goto out;
|
||||
/* deleting summary information of the old nextblock */
|
||||
jffs2_sum_reset_collected(c->summary);
|
||||
}
|
||||
@@ -207,7 +207,7 @@ int jffs2_scan_medium(struct jffs2_sb_info *c)
|
||||
} else {
|
||||
ret = file_dirty(c, jeb);
|
||||
if (ret)
|
||||
return ret;
|
||||
goto out;
|
||||
}
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user