diff options
author | Jan Engelhardt <jengelh@linux01.gwdg.de> | 2006-09-05 14:30:40 +0200 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-09-07 09:42:56 -0400 |
commit | c53921248c79197befa7caa4c17b1af5c077a2c2 (patch) | |
tree | e446672af150784bee2ac92ccc991a62ed699cca /fs/gfs2/bmap.c | |
parent | 7b62536141927212158ab84ce2afda9319ae6f2d (diff) | |
download | lwn-c53921248c79197befa7caa4c17b1af5c077a2c2.tar.gz lwn-c53921248c79197befa7caa4c17b1af5c077a2c2.zip |
[GFS2] More style changes
Remove redundant brackets
Signed-off-by: Jan Engelhardt <jengelh@linux01.gwdg.de>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/bmap.c')
-rw-r--r-- | fs/gfs2/bmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/bmap.c b/fs/gfs2/bmap.c index 0f9567fe5c8b..57caad7bc0d5 100644 --- a/fs/gfs2/bmap.c +++ b/fs/gfs2/bmap.c @@ -618,7 +618,7 @@ static int recursive_scan(struct gfs2_inode *ip, struct buffer_head *dibh, return error; top = (u64 *)(bh->b_data + mh_size) + - ((first) ? mp->mp_list[height] : 0); + (first ? mp->mp_list[height] : 0); bottom = (u64 *)(bh->b_data + mh_size) + sdp->sd_inptrs; } @@ -957,7 +957,7 @@ static int trunc_start(struct gfs2_inode *ip, u64 size) int error; error = gfs2_trans_begin(sdp, - RES_DINODE + ((journaled) ? RES_JDATA : 0), 0); + RES_DINODE + (journaled ? RES_JDATA : 0), 0); if (error) return error; |