[PATCH v3] jffs2: Fix lock acquisition order bug in jffs2_write_begin
Artem Bityutskiy
dedekind1 at gmail.com
Thu Oct 18 08:26:46 EDT 2012
On Wed, 2012-10-17 at 22:59 +0200, Thomas Betker wrote:
> jffs2_write_begin() first acquires the page lock, then f->sem. This
> causes an AB-BA deadlock with jffs2_garbage_collect_live(), which first
> acquires f->sem, then the page lock:
Pushed to l2-mtd.git, thanks!
--
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/20121018/e377b79b/attachment.sig>
More information about the linux-mtd
mailing list