/* Do we need to leave space at the end for a checksum? */
if (jbd2_journal_has_csum_v2or3(trans->journal))
- csum_size = sizeof(struct journal_revoke_tail);
+ csum_size = sizeof(struct jbd2_journal_block_tail);
curr_blk = trans->block;
/* Estimate # of revoke blocks */
bs = journal->j_blocksize;
if (jbd2_journal_has_csum_v2or3(journal))
- bs -= sizeof(struct journal_revoke_tail);
+ bs -= sizeof(struct jbd2_journal_block_tail);
sz = jbd2_has_feature_64bit(journal) ? sizeof(__u64) : sizeof(__u32);
ret += revoke_blocks * sz / bs;