diff options
author | Dave Chinner <dchinner@redhat.com> | 2021-06-02 03:48:24 +0300 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2021-06-02 03:48:24 +0300 |
commit | a81a06211fb43d80ee746e7a40a32ed812002f8e (patch) | |
tree | 87be9a299398e6df18d6d6ff60581ca0d089c1cb /fs/xfs/xfs_fsmap.c | |
parent | fa9c3c197329fdab0efc48a8944d2c4a21c6a74f (diff) | |
download | linux-a81a06211fb43d80ee746e7a40a32ed812002f8e.tar.xz |
xfs: convert refcount btree cursor to use perags
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_fsmap.c')
-rw-r--r-- | fs/xfs/xfs_fsmap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_fsmap.c b/fs/xfs/xfs_fsmap.c index 7bfe9ea35de0..623cabaeafee 100644 --- a/fs/xfs/xfs_fsmap.c +++ b/fs/xfs/xfs_fsmap.c @@ -210,8 +210,7 @@ xfs_getfsmap_is_shared( /* Are there any shared blocks here? */ flen = 0; - cur = xfs_refcountbt_init_cursor(mp, tp, info->agf_bp, - info->pag->pag_agno, info->pag); + cur = xfs_refcountbt_init_cursor(mp, tp, info->agf_bp, info->pag); error = xfs_refcount_find_shared(cur, rec->rm_startblock, rec->rm_blockcount, &fbno, &flen, false); |