mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-31 03:04:11 +03:00
zil_parse: make callback parameters const
Code cleanup, a follow up commit to 4d55ea81.
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Co-authored-by: Ryan Moeller <ryan@freqlabs.com>
Signed-off-by: Christian Schwarz <me@cschwarz.com>
Closes #11020
This commit is contained in:
committed by
Brian Behlendorf
parent
5e7198b873
commit
5c6d3c21b1
@@ -73,7 +73,8 @@ static void prefetch_dnode_metadata(traverse_data_t *td, const dnode_phys_t *,
|
||||
uint64_t objset, uint64_t object);
|
||||
|
||||
static int
|
||||
traverse_zil_block(zilog_t *zilog, blkptr_t *bp, void *arg, uint64_t claim_txg)
|
||||
traverse_zil_block(zilog_t *zilog, const blkptr_t *bp, void *arg,
|
||||
uint64_t claim_txg)
|
||||
{
|
||||
traverse_data_t *td = arg;
|
||||
zbookmark_phys_t zb;
|
||||
@@ -93,7 +94,8 @@ traverse_zil_block(zilog_t *zilog, blkptr_t *bp, void *arg, uint64_t claim_txg)
|
||||
}
|
||||
|
||||
static int
|
||||
traverse_zil_record(zilog_t *zilog, lr_t *lrc, void *arg, uint64_t claim_txg)
|
||||
traverse_zil_record(zilog_t *zilog, const lr_t *lrc, void *arg,
|
||||
uint64_t claim_txg)
|
||||
{
|
||||
traverse_data_t *td = arg;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user