/* * TODO * 1. Bad block table (BBT) *   -> using NAND BBT to support JFFS2 * 2. Bad block management (BBM) *   -> bad block replace scheme * * Currently we do nothing */ return 0; 
/* Check for invalid offset */ if (ofs > mtd->size) return -EINVAL;  return onenand_block_checkbad(mtd, ofs, 1, 0); 
static int onenand_block_isbad(struct mtd_info *mtd, loff_t ofs){	/*	 * TODO 	 * 1. Bad block table (BBT)	 *   -> using NAND BBT to support JFFS2	 * 2. Bad block management (BBM)	 *   -> bad block replace scheme	 *	 * Currently we do nothing	 */	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/cdc001305da4f057353911018e28f26f8f879061/onenand_base.c/buggy/drivers/mtd/onenand/onenand_base.c