4K block size question

Artem B. Bityuckiy abityuckiy at yandex.ru
Thu Oct 21 07:58:32 EDT 2004


Hello,

In the JFFS2, there is place where both c->erase_completion and 
c->inocache spinlocks are held. But the c->erase_completion is locked 
first. This fact does not highlighted in the README.Locking file.

I propose to metnion it there. (i.e., that if both locks are needed, the 
c->erase_completion must be locked first).


-- 
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.




More information about the linux-mtd mailing list