diff options
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, | |||
618 | return error; | 618 | return error; |
619 | 619 | ||
620 | top = (u64 *)(bh->b_data + mh_size) + | 620 | top = (u64 *)(bh->b_data + mh_size) + |
621 | ((first) ? mp->mp_list[height] : 0); | 621 | (first ? mp->mp_list[height] : 0); |
622 | 622 | ||
623 | bottom = (u64 *)(bh->b_data + mh_size) + sdp->sd_inptrs; | 623 | bottom = (u64 *)(bh->b_data + mh_size) + sdp->sd_inptrs; |
624 | } | 624 | } |
@@ -957,7 +957,7 @@ static int trunc_start(struct gfs2_inode *ip, u64 size) | |||
957 | int error; | 957 | int error; |
958 | 958 | ||
959 | error = gfs2_trans_begin(sdp, | 959 | error = gfs2_trans_begin(sdp, |
960 | RES_DINODE + ((journaled) ? RES_JDATA : 0), 0); | 960 | RES_DINODE + (journaled ? RES_JDATA : 0), 0); |
961 | if (error) | 961 | if (error) |
962 | return error; | 962 | return error; |
963 | 963 | ||