jffs2_flash_writev(): Non-contiguous write to 00825300 with mtd_dataflash

Artem Bityutskiy dedekind at infradead.org
Tue Nov 28 07:36:17 EST 2006


On Tue, 2006-11-28 at 12:58 +0100, Haavard Skinnemoen wrote:
> +#define jffs2_can_mark_obsolete(c) (c->mtd->flags & (MTD_BIT_WRITEABLE)	\
> +				    && !jffs2_dataflash(c))

Please, make sure the DataFlash driver does has MTD_BIT_WRITEABLE bit
set at c->mtd->flags instead

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)





More information about the linux-mtd mailing list