]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfsprogs-dev.git/commitdiff
xfs_scrub: fix type error in render_ino_from_handle xfsprogs-5.6-fixes_2020-04-06 xfsprogs-5.6-fixes_2020-04-08
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 31 Mar 2020 19:52:42 +0000 (12:52 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 6 Apr 2020 18:50:38 +0000 (11:50 -0700)
render_ino_from_handle is passed a struct xfs_bulkstat, not xfs_bstat.
Fix this.

Fixes: 4cca629d6ae3807 ("misc: convert xfrog_bulkstat functions to have v5 semantics")
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
scrub/phase5.c

index 540b840dc6287d5b8dafede8707f311792309ea3..fcd5ba27bd0bfd65026bfddc4a877290cf657860 100644 (file)
@@ -242,7 +242,7 @@ render_ino_from_handle(
        size_t                  buflen,
        void                    *data)
 {
-       struct xfs_bstat        *bstat = data;
+       struct xfs_bulkstat     *bstat = data;
 
        return scrub_render_ino_descr(ctx, buf, buflen, bstat->bs_ino,
                        bstat->bs_gen, NULL);