if (current->flags & PF_FREEZE) { 
if (freezing(current)) { 
int jfsIOWait(void *arg){	struct lbuf *bp;	daemonize("jfsIO");	complete(&jfsIOwait);	do {		DECLARE_WAITQUEUE(wq, current);		spin_lock_irq(&log_redrive_lock);		while ((bp = log_redrive_list) != 0) {			log_redrive_list = bp->l_redrive_next;			bp->l_redrive_next = NULL;			spin_unlock_irq(&log_redrive_lock);			lbmStartIO(bp);			spin_lock_irq(&log_redrive_lock);		}		if (current->flags & PF_FREEZE) {			spin_unlock_irq(&log_redrive_lock);			refrigerator(PF_FREEZE);		} else {			add_wait_queue(&jfs_IO_thread_wait, &wq);			set_current_state(TASK_INTERRUPTIBLE);			spin_unlock_irq(&log_redrive_lock);			schedule();			current->state = TASK_RUNNING;			remove_wait_queue(&jfs_IO_thread_wait, &wq);		}	} while (!jfs_stop_threads);	jfs_info("jfsIOWait being killed!");	complete_and_exit(&jfsIOwait, 0);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/3e1d1d28d99dabe63c64f7f40f1ca1d646de1f73/jfs_logmgr.c/buggy/fs/jfs/jfs_logmgr.c