jffs2: Require jffs2_garbage_collect_trigger() to be called with lock held
authorDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 19 May 2010 16:00:10 +0000 (17:00 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 19 May 2010 16:10:22 +0000 (17:10 +0100)
We're about to call this from a bunch of places which already hold
c->erase_completion_lock, so add an assertion and change its existing
callers to do the same.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

No differences found