From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from userp2130.oracle.com ([156.151.31.86]:45548 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726067AbfCTUDh (ORCPT ); Wed, 20 Mar 2019 16:03:37 -0400 Date: Wed, 20 Mar 2019 13:03:30 -0700 From: "Darrick J. Wong" Subject: [PATCH 45/36] xfs_scrub: rename confusing structure Message-ID: <20190320200330.GI1183@magnolia> References: <155259742281.31886.17157720770696604377.stgit@magnolia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <155259742281.31886.17157720770696604377.stgit@magnolia> Sender: linux-xfs-owner@vger.kernel.org List-ID: List-Id: xfs To: sandeen@sandeen.net Cc: linux-xfs@vger.kernel.org From: Darrick J. Wong Rename xfs_verify_extent to media_verify_state so that the name more accurately reflects what we're storing in the structure. Signed-off-by: Darrick J. Wong --- scrub/phase6.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scrub/phase6.c b/scrub/phase6.c index 5e2b9ee3..2b4f6ff1 100644 --- a/scrub/phase6.c +++ b/scrub/phase6.c @@ -35,7 +35,7 @@ /* Verify disk blocks with GETFSMAP */ -struct xfs_verify_extent { +struct media_verify_state { struct read_verify_pool *rvp_data; struct read_verify_pool *rvp_log; struct read_verify_pool *rvp_realtime; @@ -47,7 +47,7 @@ struct xfs_verify_extent { static struct read_verify_pool * xfs_dev_to_pool( struct scrub_ctx *ctx, - struct xfs_verify_extent *ve, + struct media_verify_state *ve, dev_t dev) { if (dev == ctx->fsinfo.fs_datadev) @@ -348,7 +348,7 @@ xfs_check_rmap_ioerr( { struct fsmap keys[2]; char descr[DESCR_BUFSZ]; - struct xfs_verify_extent *ve = arg; + struct media_verify_state *ve = arg; struct bitmap *tree; dev_t dev; bool moveon; @@ -395,7 +395,7 @@ xfs_check_rmap( struct fsmap *map, void *arg) { - struct xfs_verify_extent *ve = arg; + struct media_verify_state *ve = arg; struct read_verify_pool *rvp; rvp = xfs_dev_to_pool(ctx, ve, map->fmr_device); @@ -463,7 +463,7 @@ bool xfs_scan_blocks( struct scrub_ctx *ctx) { - struct xfs_verify_extent ve = { NULL }; + struct media_verify_state ve = { NULL }; bool moveon; moveon = bitmap_init(&ve.d_bad);