From: Pathompong Puengrostham <jay4mail@yahoo.com>
To: linux-mtd@lists.infradead.org
Subject: jffs2_scan_eraseblock scan only 1 KiB not 4 KiB of 0xFF
Date: Thu, 03 Feb 2005 16:35:43 +0700 [thread overview]
Message-ID: <4201F06F.4030207@yahoo.com> (raw)
Hi,
In scan.c, jffs2_scan_eraseblock() scan only 1 KiB of 0xFF not 4 KiB as
said in the comment. I think the comment is not correct. Do I get it right?
Thanks,
Pathompong Puengrostham
--- scan.c 27 Jan 2005 04:35:22 -0000 1.3
+++ scan.c 3 Feb 2005 09:29:24 -0000
@@ -325,7 +325,7 @@
/* We temporarily use 'ofs' as a pointer into the buffer/jeb */
ofs = 0;
- /* Scan only 4KiB of 0xFF before declaring it's empty */
+ /* Scan only 1KiB of 0xFF before declaring it's empty */
while(ofs < EMPTY_SCAN_SIZE && *(uint32_t *)(&buf[ofs]) == 0xFFFFFFFF)
ofs += 4;
reply other threads:[~2005-02-03 9:35 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=4201F06F.4030207@yahoo.com \
--to=jay4mail@yahoo.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