if (scan_lbtree(get_unaligned_be64(&pp[i]), level, scan_bmapbt,
type, whichfork, lino, tot, nex, blkmapp,
- &cursor, 1, check_dups, magic,
+ &cursor, 1, check_dups, magic, NULL,
&xfs_bmbt_buf_ops))
return(1);
/*
int isroot,
int check_dups,
int *dirty,
- uint64_t magic),
+ uint64_t magic,
+ void *priv),
int type,
int whichfork,
xfs_ino_t ino,
int isroot,
int check_dups,
uint64_t magic,
+ void *priv,
const struct xfs_buf_ops *ops)
{
struct xfs_buf *bp;
err = (*func)(XFS_BUF_TO_BLOCK(bp), nlevels - 1,
type, whichfork, root, ino, tot, nex, blkmapp,
bm_cursor, isroot, check_dups, &dirty,
- magic);
+ magic, priv);
ASSERT(dirty == 0 || (dirty && !no_modify));
int isroot,
int check_dups,
int *dirty,
- uint64_t magic)
+ uint64_t magic,
+ void *priv)
{
int i;
int err;
err = scan_lbtree(be64_to_cpu(pp[i]), level, scan_bmapbt,
type, whichfork, ino, tot, nex, blkmapp,
- bm_cursor, 0, check_dups, magic,
+ bm_cursor, 0, check_dups, magic, priv,
&xfs_bmbt_buf_ops);
if (err)
return(1);