wait_for_completion(&c->gc_thread_exit);
if (wait) wait_for_completion(&c->gc_thread_exit);
void jffs2_stop_garbage_collect_thread(struct jffs2_sb_info *c){	spin_lock(&c->erase_completion_lock);	if (c->gc_task) {		D1(printk(KERN_DEBUG "jffs2: Killing GC task %d\n", c->gc_task->pid));		send_sig(SIGKILL, c->gc_task, 1);	}	spin_unlock(&c->erase_completion_lock);	wait_for_completion(&c->gc_thread_exit);}