public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Jack Lu" <jlu@rdmcorp.com>
To: <linux-mtd@lists.infradead.org>
Subject: decompresion  error when using jffs2
Date: Thu, 26 Sep 2002 13:47:10 -0400	[thread overview]
Message-ID: <DFEAJMIABOLKNEBOPGDHIEEECBAA.jlu@rdmcorp.com> (raw)

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.

	

                 reply	other threads:[~2002-09-26 17:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DFEAJMIABOLKNEBOPGDHIEEECBAA.jlu@rdmcorp.com \
    --to=jlu@rdmcorp.com \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox