diff options
author | Jan Engelhardt <jengelh@linux01.gwdg.de> | 2006-09-05 08:30:40 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-09-07 09:42:56 -0400 |
commit | c53921248c79197befa7caa4c17b1af5c077a2c2 (patch) | |
tree | e446672af150784bee2ac92ccc991a62ed699cca /fs/gfs2/log.c | |
parent | 7b62536141927212158ab84ce2afda9319ae6f2d (diff) |
[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/log.c')
-rw-r--r-- | fs/gfs2/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/log.c b/fs/gfs2/log.c index 382a19eea1c7..8fce592f4011 100644 --- a/fs/gfs2/log.c +++ b/fs/gfs2/log.c | |||
@@ -342,8 +342,8 @@ static void log_pull_tail(struct gfs2_sbd *sdp, unsigned int new_tail, int pull) | |||
342 | ail2_empty(sdp, new_tail); | 342 | ail2_empty(sdp, new_tail); |
343 | 343 | ||
344 | gfs2_log_lock(sdp); | 344 | gfs2_log_lock(sdp); |
345 | sdp->sd_log_blks_free += dist - ((pull) ? 1 : 0); | 345 | sdp->sd_log_blks_free += dist - (pull ? 1 : 0); |
346 | /* printk(KERN_INFO "pull tail refunding %u blocks (%u left) pull=%d\n", dist - ((pull) ? 1 : 0), sdp->sd_log_blks_free, pull); */ | 346 | /* printk(KERN_INFO "pull tail refunding %u blocks (%u left) pull=%d\n", dist - (pull ? 1 : 0), sdp->sd_log_blks_free, pull); */ |
347 | gfs2_assert_withdraw(sdp, | 347 | gfs2_assert_withdraw(sdp, |
348 | sdp->sd_log_blks_free <= sdp->sd_jdesc->jd_blocks); | 348 | sdp->sd_log_blks_free <= sdp->sd_jdesc->jd_blocks); |
349 | gfs2_log_unlock(sdp); | 349 | gfs2_log_unlock(sdp); |