BUG_ON conversion for fs/reiserfs
This patch converts several if () BUG(); construct to BUG_ON(); which occupies less space, uses unlikely and is safer when BUG() is disabled. S_ISREG() has no side effects, so the conversion is safe. Signed-off-by:Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by:
Adrian Bunk <bunk@stusta.de>
Showing
- fs/reiserfs/file.c 2 additions, 4 deletionsfs/reiserfs/file.c
- fs/reiserfs/item_ops.c 4 additions, 8 deletionsfs/reiserfs/item_ops.c
- fs/reiserfs/journal.c 16 additions, 33 deletionsfs/reiserfs/journal.c
- fs/reiserfs/namei.c 3 additions, 6 deletionsfs/reiserfs/namei.c
- fs/reiserfs/stree.c 1 addition, 3 deletionsfs/reiserfs/stree.c
Loading
Please register or sign in to comment