Commit cd45697f authored by Steven Whitehouse's avatar Steven Whitehouse

[GFS2] Add missing {} in trans.c

A conditional had missing {} around the two following
statements. Now added.
Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent e90deff5
...@@ -106,10 +106,11 @@ void gfs2_trans_end(struct gfs2_sbd *sdp) ...@@ -106,10 +106,11 @@ void gfs2_trans_end(struct gfs2_sbd *sdp)
tr->tr_num_buf, tr->tr_blocks); tr->tr_num_buf, tr->tr_blocks);
print_symbol(KERN_WARNING "GFS2: Transaction created at: %s\n", tr->tr_ip); 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 ", fs_err(sdp, "tr_num_revoke = %u, tr_revokes = %u ",
tr->tr_num_revoke, tr->tr_revokes); tr->tr_num_revoke, tr->tr_revokes);
print_symbol(KERN_WARNING "GFS2: Transaction created at: %s\n", tr->tr_ip); print_symbol(KERN_WARNING "GFS2: Transaction created at: %s\n", tr->tr_ip);
}
gfs2_log_commit(sdp, tr); gfs2_log_commit(sdp, tr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment