commit | 7dddb12c63553db850365cfd066a00416aa8c6cb | [log] [tgz] |
---|---|---|
author | Eric Sesterhenn <snakebyte@gmx.de> | Sat Apr 01 01:13:38 2006 +0200 |
committer | Adrian Bunk <bunk@stusta.de> | Sat Apr 01 01:13:38 2006 +0200 |
tree | b1481c0bb7e0ef1ef973947995a62514c6283cdf | |
parent | d4569d2e6949a63851032b40c811913d4a6f85f5 [diff] |
BUG_ON() Conversion in fs/exec.c this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Adrian Bunk <bunk@stusta.de>
diff --git a/fs/exec.c b/fs/exec.c index 950ebd4..0291a68 100644 --- a/fs/exec.c +++ b/fs/exec.c
@@ -561,7 +561,7 @@ arch_pick_mmap_layout(mm); if (old_mm) { up_read(&old_mm->mmap_sem); - if (active_mm != old_mm) BUG(); + BUG_ON(active_mm != old_mm); mmput(old_mm); return 0; }