public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* decompresion  error when using jffs2
@ 2002-09-26 17:47 Jack Lu
  0 siblings, 0 replies; only message in thread
From: Jack Lu @ 2002-09-26 17:47 UTC (permalink / raw)
  To: linux-mtd

Hi
	I have mounted the jffs2 filesystem by:
	#mount /dev/mtdblock/1 /tmp

	Then I copied a file by:
	#cp /mnt/test.c /tmp/t.c

	one prompt displayed:
	inflate returned -3. -3 means Z_DATA_ERROR. 

	I checked the file fs/jffs2/compr_zlib.c
	jffs2_zlib_decompress(..){
		...
		while(ret=zlib_inflate(&strm,ZFINISH))==Z_OK);
		if(ret!=Z_STREAM_END){
			printk(KERN_NOTICE :inflate returned %d\n",ret);
			}
		....
		}

	but I compared the /tmp/t.c and /mnt/test.c, there was no difference.


	Why does this prompt occur?

Thanks.

	

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-09-26 17:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-26 17:47 decompresion error when using jffs2 Jack Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox