2929/* Cross-reference with the other btrees. */
3030STATIC void
3131xchk_superblock_xref (
32- struct xfs_scrub_context * sc ,
32+ struct xfs_scrub * sc ,
3333 struct xfs_buf * bp )
3434{
3535 struct xfs_owner_info oinfo ;
@@ -66,7 +66,7 @@ xchk_superblock_xref(
6666 */
6767int
6868xchk_superblock (
69- struct xfs_scrub_context * sc )
69+ struct xfs_scrub * sc )
7070{
7171 struct xfs_mount * mp = sc -> mp ;
7272 struct xfs_buf * bp ;
@@ -365,7 +365,7 @@ xchk_agf_record_bno_lengths(
365365/* Check agf_freeblks */
366366static inline void
367367xchk_agf_xref_freeblks (
368- struct xfs_scrub_context * sc )
368+ struct xfs_scrub * sc )
369369{
370370 struct xfs_agf * agf = XFS_BUF_TO_AGF (sc -> sa .agf_bp );
371371 xfs_extlen_t blocks = 0 ;
@@ -385,7 +385,7 @@ xchk_agf_xref_freeblks(
385385/* Cross reference the AGF with the cntbt (freespace by length btree) */
386386static inline void
387387xchk_agf_xref_cntbt (
388- struct xfs_scrub_context * sc )
388+ struct xfs_scrub * sc )
389389{
390390 struct xfs_agf * agf = XFS_BUF_TO_AGF (sc -> sa .agf_bp );
391391 xfs_agblock_t agbno ;
@@ -417,7 +417,7 @@ xchk_agf_xref_cntbt(
417417/* Check the btree block counts in the AGF against the btrees. */
418418STATIC void
419419xchk_agf_xref_btreeblks (
420- struct xfs_scrub_context * sc )
420+ struct xfs_scrub * sc )
421421{
422422 struct xfs_agf * agf = XFS_BUF_TO_AGF (sc -> sa .agf_bp );
423423 struct xfs_mount * mp = sc -> mp ;
@@ -463,7 +463,7 @@ xchk_agf_xref_btreeblks(
463463/* Check agf_refcount_blocks against tree size */
464464static inline void
465465xchk_agf_xref_refcblks (
466- struct xfs_scrub_context * sc )
466+ struct xfs_scrub * sc )
467467{
468468 struct xfs_agf * agf = XFS_BUF_TO_AGF (sc -> sa .agf_bp );
469469 xfs_agblock_t blocks ;
@@ -482,7 +482,7 @@ xchk_agf_xref_refcblks(
482482/* Cross-reference with the other btrees. */
483483STATIC void
484484xchk_agf_xref (
485- struct xfs_scrub_context * sc )
485+ struct xfs_scrub * sc )
486486{
487487 struct xfs_owner_info oinfo ;
488488 struct xfs_mount * mp = sc -> mp ;
@@ -514,7 +514,7 @@ xchk_agf_xref(
514514/* Scrub the AGF. */
515515int
516516xchk_agf (
517- struct xfs_scrub_context * sc )
517+ struct xfs_scrub * sc )
518518{
519519 struct xfs_mount * mp = sc -> mp ;
520520 struct xfs_agf * agf ;
@@ -602,13 +602,13 @@ struct xchk_agfl_info {
602602 unsigned int sz_entries ;
603603 unsigned int nr_entries ;
604604 xfs_agblock_t * entries ;
605- struct xfs_scrub_context * sc ;
605+ struct xfs_scrub * sc ;
606606};
607607
608608/* Cross-reference with the other btrees. */
609609STATIC void
610610xchk_agfl_block_xref (
611- struct xfs_scrub_context * sc ,
611+ struct xfs_scrub * sc ,
612612 xfs_agblock_t agbno ,
613613 struct xfs_owner_info * oinfo )
614614{
@@ -629,7 +629,7 @@ xchk_agfl_block(
629629 void * priv )
630630{
631631 struct xchk_agfl_info * sai = priv ;
632- struct xfs_scrub_context * sc = sai -> sc ;
632+ struct xfs_scrub * sc = sai -> sc ;
633633 xfs_agnumber_t agno = sc -> sa .agno ;
634634
635635 if (xfs_verify_agbno (mp , agno , agbno ) &&
@@ -660,7 +660,7 @@ xchk_agblock_cmp(
660660/* Cross-reference with the other btrees. */
661661STATIC void
662662xchk_agfl_xref (
663- struct xfs_scrub_context * sc )
663+ struct xfs_scrub * sc )
664664{
665665 struct xfs_owner_info oinfo ;
666666 struct xfs_mount * mp = sc -> mp ;
@@ -691,7 +691,7 @@ xchk_agfl_xref(
691691/* Scrub the AGFL. */
692692int
693693xchk_agfl (
694- struct xfs_scrub_context * sc )
694+ struct xfs_scrub * sc )
695695{
696696 struct xchk_agfl_info sai ;
697697 struct xfs_agf * agf ;
@@ -768,7 +768,7 @@ xchk_agfl(
768768/* Check agi_count/agi_freecount */
769769static inline void
770770xchk_agi_xref_icounts (
771- struct xfs_scrub_context * sc )
771+ struct xfs_scrub * sc )
772772{
773773 struct xfs_agi * agi = XFS_BUF_TO_AGI (sc -> sa .agi_bp );
774774 xfs_agino_t icount ;
@@ -789,7 +789,7 @@ xchk_agi_xref_icounts(
789789/* Cross-reference with the other btrees. */
790790STATIC void
791791xchk_agi_xref (
792- struct xfs_scrub_context * sc )
792+ struct xfs_scrub * sc )
793793{
794794 struct xfs_owner_info oinfo ;
795795 struct xfs_mount * mp = sc -> mp ;
@@ -818,7 +818,7 @@ xchk_agi_xref(
818818/* Scrub the AGI. */
819819int
820820xchk_agi (
821- struct xfs_scrub_context * sc )
821+ struct xfs_scrub * sc )
822822{
823823 struct xfs_mount * mp = sc -> mp ;
824824 struct xfs_agi * agi ;
0 commit comments