[PATCH] jffs2: Fix lock acquisition order bug in gc path
Brian Norris
computersforpeace at gmail.com
Thu Mar 29 11:38:41 EDT 2012
On Thu, Feb 9, 2012 at 10:50 AM, Josh Cartwright <joshc at linux.com> 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
More information about the linux-mtd
mailing list