1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

package/mtd: write remaining data after adding file to the jffs2 partition

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22881 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg
2010-09-03 18:14:32 +00:00
parent f6f48d65b9
commit b73df9f67e
3 changed files with 32 additions and 10 deletions

View File

@@ -247,7 +247,7 @@ int mtd_replace_jffs2(const char *mtd, int fd, int ofs, const char *filename)
#ifdef target_brcm
trx_fixup(outfd, mtd);
#endif
return 0;
return (mtdofs - ofs);
}
void mtd_parse_jffs2data(const char *buf, const char *dir)