/drivers/mtd/mtdblock_ro.c is buggy

"Callebaut, Benoît" benoit.callebaut at barco.com
Thu Mar 20 03:05:44 EST 2003


Hi everybody,
After a lot of debugging I seen that there is a bug in the MTD read only
block driver.
It seems that in the mtdblock_request, something goes wrong withe the
handling of the request structure.
between two calls to end_request, the pointer bh->req_qnext of the last used
buffer head is corrupted.
I didn't find the cause but since this happens only with the
mtdblock_request function I suppose there is something wrong in it.

If I ever find what's wrong I will try to correct it, but don't hope too
much I don't have a lot of time.

----------------------------------------------------------------------------
------
Benoit Callebaut
Software Development Engineer
Barco | Control Rooms
Noordlaan 5, 8520 Kuurne, Belgium

Tel 	+32(0)56 36 84 28
Fax 	+32(0)56 36 86 05

mailto:benoit.callebaut at barco.com
http://www.barcocontrolrooms.com


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list