android_kernel_samsung_msm8976/fs/ext4
Julia Lawall 07d45f1267 ext4: Use BUG_ON() instead of BUG()
if (...) BUG(); should be replaced with BUG_ON(...) when the test has no
side-effects to allow a definition of BUG_ON that drops the code completely.

The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@ disable unlikely @ expression E,f; @@

(
  if (<... f(...) ...>) { BUG(); }
|
- if (unlikely(E)) { BUG(); }
+ BUG_ON(E);
)

@@ expression E,f; @@

(
  if (<... f(...) ...>) { BUG(); }
|
- if (E) { BUG(); }
+ BUG_ON(E);
)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-07-11 19:27:31 -04:00
..
acl.c ext4: fix wrong gfp type under transaction 2008-04-29 22:02:02 -04:00
acl.h
balloc.c ext4: Use BUG_ON() instead of BUG() 2008-07-11 19:27:31 -04:00
bitmap.c ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
dir.c ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
ext4.h ext4: fix comments to say "ext4" 2008-07-11 19:27:31 -04:00
ext4_extents.h ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
ext4_i.h ext4: fix comments to say "ext4" 2008-07-11 19:27:31 -04:00
ext4_jbd2.c ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
ext4_jbd2.h ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
ext4_sb.h ext4: fix comments to say "ext4" 2008-07-11 19:27:31 -04:00
extents.c ext4: update ctime and mtime for truncate with extents. 2008-04-29 22:00:41 -04:00
file.c ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
fsync.c ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
group.h ext4: add ext4_group_t, and change all group variables to this type. 2008-01-28 23:58:27 -05:00
hash.c ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
ialloc.c ext4: handle corrupted orphan list at mount 2008-07-11 19:27:31 -04:00
inode.c ext4: handle deleting corrupted indirect blocks 2008-07-11 19:27:31 -04:00
ioctl.c ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
Makefile ext4: Add multi block allocator for ext4 2008-01-29 00:19:52 -05:00
mballoc.c ext4: start searching for the right extent from the goal group. 2008-07-11 19:27:31 -04:00
mballoc.h ext4: Move mballoc headers/structures to a seperate header file mballoc.h 2008-04-29 22:01:31 -04:00
migrate.c ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
namei.c ext4: validate directory entry data before use 2008-07-11 19:27:31 -04:00
namei.h
resize.c Ext4: Fix online resize block group descriptor corruption 2008-06-20 11:48:48 -04:00
super.c ext4: add missing unlock to an error path in ext4_quota_write() 2008-07-04 10:40:05 -07:00
symlink.c ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
xattr.c ext3/4: fix uninitialized bs in ext3/4_xattr_set_handle() 2008-05-14 19:11:14 -07:00
xattr.h ext4: make ext4_xattr_list() static 2008-04-17 10:38:59 -04:00
xattr_security.c ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
xattr_trusted.c ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
xattr_user.c ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00