]> git.ipfire.org Git - people/ms/linux.git/blobdiff - fs/xfs/xfs_fsmap.c
Merge branch 'for-6.0/dax' into libnvdimm-fixes
[people/ms/linux.git] / fs / xfs / xfs_fsmap.c
index bb23199f65c36cc65f8cdd7339f257a453f33710..d8337274c74d09edecfc5774ee2cfb6e7183e2b3 100644 (file)
@@ -642,8 +642,7 @@ __xfs_getfsmap_datadev(
                        info->agf_bp = NULL;
                }
 
-               error = xfs_alloc_read_agf(mp, tp, pag->pag_agno, 0,
-                               &info->agf_bp);
+               error = xfs_alloc_read_agf(pag, tp, 0, &info->agf_bp);
                if (error)
                        break;