linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / fs / jffs2 / background.c
index ff2a872..7b77a95 100644 (file)
@@ -35,7 +35,8 @@ int jffs2_start_garbage_collect_thread(struct jffs2_sb_info *c)
        pid_t pid;
        int ret = 0;
 
-       BUG_ON(c->gc_task);
+       if (c->gc_task)
+               BUG();
 
        init_completion(&c->gc_thread_start);
        init_completion(&c->gc_thread_exit);