jffs2_scan_eraseblock scan only 1 KiB not 4 KiB of 0xFF
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 +1 -1
@@ -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 ;