git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
fs
/
jffs2
/
background.c
diff --git
a/fs/jffs2/background.c
b/fs/jffs2/background.c
index
ff2a872
..
7b77a95
100644
(file)
--- a/
fs/jffs2/background.c
+++ b/
fs/jffs2/background.c
@@
-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);