|
@@ -355,7 +355,7 @@ void recover_transaction(int prev_desc_logical_no)
|
|
|
ofs = sizeof(struct journal_header_t);
|
|
|
|
|
|
do {
|
|
|
- tag = (struct ext3_journal_block_tag *)&p_jdb[ofs];
|
|
|
+ tag = (struct ext3_journal_block_tag *)(p_jdb + ofs);
|
|
|
ofs += sizeof(struct ext3_journal_block_tag);
|
|
|
|
|
|
if (ofs > fs->blksz)
|
|
@@ -466,7 +466,7 @@ int ext4fs_check_journal_state(int recovery_flag)
|
|
|
ofs = sizeof(struct journal_header_t);
|
|
|
do {
|
|
|
tag = (struct ext3_journal_block_tag *)
|
|
|
- &p_jdb[ofs];
|
|
|
+ (p_jdb + ofs);
|
|
|
ofs += sizeof(struct ext3_journal_block_tag);
|
|
|
if (ofs > fs->blksz)
|
|
|
break;
|