if (try_to_freeze(0)) 
if (try_to_freeze()) 
static int jffs2_garbage_collect_thread(void *_c){	struct jffs2_sb_info *c = _c;	daemonize("jffs2_gcd_mtd%d", c->mtd->index);	allow_signal(SIGKILL);	allow_signal(SIGSTOP);	allow_signal(SIGCONT);	c->gc_task = current;	up(&c->gc_thread_start);	set_user_nice(current, 10);	for (;;) {		allow_signal(SIGHUP);		if (!jffs2_thread_should_wake(c)) {			set_current_state (TASK_INTERRUPTIBLE);			D1(printk(KERN_DEBUG "jffs2_garbage_collect_thread sleeping...\n"));			/* Yes, there's a race here; we checked jffs2_thread_should_wake()			   before setting current->state to TASK_INTERRUPTIBLE. But it doesn't			   matter - We don't care if we miss a wakeup, because the GC thread			   is only an optimisation anyway. */			schedule();		}		if (try_to_freeze(0))			continue;		cond_resched();		/* Put_super will send a SIGKILL and then wait on the sem. 		 */		while (signal_pending(current)) {			siginfo_t info;			unsigned long signr;			signr = dequeue_signal_lock(current, &current->blocked, &info);			switch(signr) {			case SIGSTOP:				D1(printk(KERN_DEBUG "jffs2_garbage_collect_thread(): SIGSTOP received.\n"));				set_current_state(TASK_STOPPED);				schedule();				break;			case SIGKILL:				D1(printk(KERN_DEBUG "jffs2_garbage_collect_thread(): SIGKILL received.\n"));				goto die;			case SIGHUP:				D1(printk(KERN_DEBUG "jffs2_garbage_collect_thread(): SIGHUP received.\n"));				break;			default:				D1(printk(KERN_DEBUG "jffs2_garbage_collect_thread(): signal %ld received\n", signr));			}		}		/* We don't want SIGHUP to interrupt us. STOP and KILL are OK though. */		disallow_signal(SIGHUP);		D1(printk(KERN_DEBUG "jffs2_garbage_collect_thread(): pass\n"));		if (jffs2_garbage_collect_pass(c) == -ENOSPC) {			printk(KERN_NOTICE "No space for garbage collection. Aborting GC thread\n");			goto die;		}	} die:	spin_lock(&c->erase_completion_lock);	c->gc_task = NULL;	spin_unlock(&c->erase_completion_lock);	complete_and_exit(&c->gc_thread_exit, 0);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/34f18a9887afaeb6e50168df512e1118f7d73542/background.c/clean/fs/jffs2/background.c