mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 08:02:27 +02:00
gfs2: Minor debugging improvement
Split the assert in gfs2_trans_end into two parts. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
This commit is contained in:
parent
6188e8777d
commit
625a8edd5e
|
|
@ -109,8 +109,8 @@ void gfs2_trans_end(struct gfs2_sbd *sdp)
|
|||
nbuf -= tr->tr_num_buf_rm;
|
||||
nbuf -= tr->tr_num_databuf_rm;
|
||||
|
||||
if (gfs2_assert_withdraw(sdp, (nbuf <= tr->tr_blocks) &&
|
||||
(tr->tr_num_revoke <= tr->tr_revokes)))
|
||||
if (gfs2_assert_withdraw(sdp, nbuf <= tr->tr_blocks) ||
|
||||
gfs2_assert_withdraw(sdp, tr->tr_num_revoke <= tr->tr_revokes))
|
||||
gfs2_print_trans(sdp, tr);
|
||||
|
||||
gfs2_log_commit(sdp, tr);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user