Re: [PATCH] jffs2: Fix lock acquisition order bug in gc path

From: Brian Norris
Date: Thu Mar 29 2012 - 11:38:43 EST


On Thu, Feb 9, 2012 at 10:50 AM, Josh Cartwright <joshc@xxxxxxxxx> wrote:
> The locking policy is such that the erase_complete_block spinlock is
> nested within the alloc_sem mutex.  This fixes a case in which the
> acquisition order was erroneously reversed.  This issue was caught by
> the following lockdep splat:

(Bump.) Anybody interested in this patch? It seemed sane to me, and I
had it sitting in my inbox. It does need a trivial rebase, BTW.

Brian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/