summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/trans.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-03-30 11:10:12 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2006-03-30 11:10:12 -0500
commitcd45697f0ddbb58f3f83c29fe164713ee7765e21 (patch)
treebbd668faca1430e77e7900df825acd461af28be5 /fs/gfs2/trans.c
parente90deff5336ac500c65f873484c326cfa8a9d379 (diff)
downloadlinux-stable-cd45697f0ddbb58f3f83c29fe164713ee7765e21.tar.gz
linux-stable-cd45697f0ddbb58f3f83c29fe164713ee7765e21.tar.bz2
linux-stable-cd45697f0ddbb58f3f83c29fe164713ee7765e21.zip
[GFS2] Add missing {} in trans.c
A conditional had missing {} around the two following statements. Now added. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/trans.c')
-rw-r--r--fs/gfs2/trans.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/gfs2/trans.c b/fs/gfs2/trans.c
index 3fae3d4e9ae4..d72f79e67c94 100644
--- a/fs/gfs2/trans.c
+++ b/fs/gfs2/trans.c
@@ -106,10 +106,11 @@ void gfs2_trans_end(struct gfs2_sbd *sdp)
tr->tr_num_buf, tr->tr_blocks);
print_symbol(KERN_WARNING "GFS2: Transaction created at: %s\n", tr->tr_ip);
}
- if (gfs2_assert_withdraw(sdp, tr->tr_num_revoke <= tr->tr_revokes))
+ if (gfs2_assert_withdraw(sdp, tr->tr_num_revoke <= tr->tr_revokes)) {
fs_err(sdp, "tr_num_revoke = %u, tr_revokes = %u ",
tr->tr_num_revoke, tr->tr_revokes);
print_symbol(KERN_WARNING "GFS2: Transaction created at: %s\n", tr->tr_ip);
+ }
gfs2_log_commit(sdp, tr);