From 018e16ef44bd28ccdef01d53eac33894fa61865d Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Tue, 31 Mar 2020 12:52:42 -0700 Subject: [PATCH] xfs_scrub: fix type error in render_ino_from_handle 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 --- scrub/phase5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrub/phase5.c b/scrub/phase5.c index 540b840d..fcd5ba27 100644 --- a/scrub/phase5.c +++ b/scrub/phase5.c @@ -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); -- 2.47.3