Changeset 27358


Ignore:
Timestamp:
2011-07-02T10:38:00+02:00 (7 years ago)
Author:
juhosg
Message:

package/mtd: don't append jffs2 data multiple times

Location:
trunk/package/mtd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mtd/Makefile

    r24911 r27358  
    1010 
    1111PKG_NAME:=mtd 
    12 PKG_RELEASE:=15 
     12PKG_RELEASE:=16 
    1313 
    1414PKG_BUILD_DIR := $(KERNEL_BUILD_DIR)/$(PKG_NAME) 
  • trunk/package/mtd/src/mtd.c

    r24911 r27358  
    409409                                /* got an EOF marker - this is the place to add some jffs2 data */ 
    410410                                skip = mtd_replace_jffs2(mtd, fd, e, jffs2file); 
     411 
     412                                /* don't add it again */ 
     413                                jffs2file = NULL; 
    411414 
    412415                                w += skip; 
Note: See TracChangeset for help on using the changeset viewer.