Re: [PATCH 2/2] xfs: online checking of the free rt extent count

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Oct 02, 2022 at 11:20:05AM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@xxxxxxxxxx>
> 
> Teach the summary count checker to count the number of free realtime
> extents and compare that to the superblock copy.
> 
> Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx>
> ---
>  fs/xfs/scrub/fscounters.c |   86 ++++++++++++++++++++++++++++++++++++++++++++-
>  fs/xfs/scrub/scrub.h      |    8 ----
>  2 files changed, 84 insertions(+), 10 deletions(-)

.....
> @@ -288,6 +301,59 @@ xchk_fscount_aggregate_agcounts(
>  	return 0;
>  }
>  
> +#ifdef CONFIG_XFS_RT
> +static inline int
> +xchk_fscount_add_frextent(
> +	struct xfs_mount		*mp,
> +	struct xfs_trans		*tp,
> +	const struct xfs_rtalloc_rec	*rec,
> +	void				*priv)

This is a callback function, so it shouldn't be declared as
"inline"....

With that fixed,

Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx>

-- 
Dave Chinner
david@xxxxxxxxxxxxx



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux