[PATCH] mtd: add documentation about locking context of MTD API

Artem Bityutskiy dedekind1 at gmail.com
Thu Mar 22 05:37:02 EDT 2012


On Wed, 2012-03-21 at 21:20 +0100, Robert Jarzmik wrote:
> Do you want me to take my patch and do a simple 's/in a sleeping context/and may
> sleep/g', or is it more complicated ?

Yes, I guess you can put just a short comment like "these all may
sleep".

WRT to 'might_sleep()' - you can put these to the _code_, to the mtd
wrappers like 'mtd_write()', I suppose.

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120322/ff245ed0/attachment.sig>


More information about the linux-mtd mailing list