From be6687e4d64a38962b52d6ddea97bda43d1bbdb3 Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Wed, 8 Apr 2020 09:48:15 -0400 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 Reviewed-by: Allison Collins Signed-off-by: Eric Sandeen --- scrub/phase5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrub/phase5.c b/scrub/phase5.c index 540b840dc..fcd5ba27b 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