BUG_ON() Conversion in fs/jffs2/
Subsystems (2)
PATCH 6/12 BUG_ON() Conversion in fs/jffs2/
hi,
this changes if() BUG(); constructs to BUG_ON() which is cleaner, contains unlikely() and can better optimized away.
Signed-off-by Eric Sesterhenn <[email protected]>
fs/jffs2/background.c renamed from fs/jffs2/background.c.orig +1 -2
@@ -35,8 +35,7 @@ int jffs2_start_garbage_collect_thread(spid_t pid;int ret =0 ; -if (c->gc_task) -BUG (); +BUG_ON (c->gc_task);init_completion (&c->gc_thread_start);init_completion (&c->gc_thread_exit);
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors