summaryrefslogtreecommitdiffstats
path: root/fs/jffs2/erase.c
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2010-05-19 18:00:10 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-05-19 18:10:22 +0200
commitacb64a43e4503fbea9faf123f2403da7af8831eb (patch)
tree862d5ad6530b7c8671bda96a1bd1d07179f0b7c9 /fs/jffs2/erase.c
parentjffs2: Wake GC thread when there are blocks to be erased (diff)
downloadlinux-acb64a43e4503fbea9faf123f2403da7af8831eb.tar.xz
linux-acb64a43e4503fbea9faf123f2403da7af8831eb.zip
jffs2: Require jffs2_garbage_collect_trigger() to be called with lock held
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>
Diffstat (limited to 'fs/jffs2/erase.c')
0 files changed, 0 insertions, 0 deletions